Closest web-safe match: #999933

Color Details and Palettes for #9EB228

Details about the color Citrus#9EB228

Conversions, palettes, contrast & design ideas for this color.

Yellow family Warm WCAG ink: dark
HEX #9EB228 RGB rgb(158, 178, 40) HSL hsl(69, 63%, 43%) CMYK cmyk(11%, 0%, 78%, 30%)

Color profile

About Color Hex #9EB228

#9EB228 is a warm color from the Yellow family, closest in name to “Citrus”. In RGB it is rgb(158, 178, 40); in HSL, hsl(69, 63%, 43%).

The color Citrus, with hexadecimal code #9eb228, resides in the yellow color family, the most visible hue in the spectrum. Yellow radiates optimism, intellect, and cheerful energy—qualities that made it the imperial color of ancient China. Additionally, it evokes emotions such as Freshness, Harmony, Growth, Youthfulness and Renewal. Yellow represents wealth, glory, and wisdom in various cultures, including being the color of royalty in ancient China. It is also associated with happiness and optimism in many Western cultures. At 63% saturation, this color is clearly chromatic yet balanced—colorful enough to be distinctive without overwhelming adjacent content. With a mid-range lightness of 43%, it offers excellent versatility—readable as text on light backgrounds and visible as an element on dark ones. This color is ideal for designs that aim to express Freshness, Harmony, Growth, Youthfulness, or Renewal. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 158, 178, 40 red · green · blue HSL 69° 63% 43% hue · sat · light HSV 69° 78% 70% design-app pickers CMYK 11 0 78 30 print inks, % Luminance 0.393 0 dark → 1 light On black 8.85:1 ✓ AA contrast ratio On white 2.37:1 ✕ AA contrast ratio Web-safe #999933 closest web-safe Best text black ideal foreground Character Vivid warm · yellow family

The story of this color

History, Usage, Psychology & Design Ideas for #9EB228

Citrus (#9EB228) belongs to the Yellow color family.

This vivid mid-tone strikes the ideal balance between intensity and readability, making it a strong candidate for primary brand colors, interactive UI elements, and logo design where immediate recognition is essential.

Historical Background

Yellow ochre was one of the first pigments used in cave art, and later Egyptians produced orpiment—a toxic arsenic-based yellow—for tomb paintings. In imperial China, only the emperor could wear bright yellow, making it the most restricted color in the nation. Van Gogh famously obsessed over chrome yellow, using it lavishly in his Sunflowers series and Arles landscapes.

Design & Usage Tips

Yellow is the most visible color in daylight, which is why it dominates warning signs, taxi cabs, and highlighter pens. Use it for attention-grabbing headlines or promotional banners, but ensure sufficient contrast with text—dark gray or black on yellow maintains readability. Avoid large yellow backgrounds on screens, as they can cause eye fatigue.

Positioned on the warm side of the color wheel (hue 69°), it naturally draws the eye and creates a sense of closeness—making it effective for calls to action, food photography, and hospitality branding. With 63% saturation, it occupies a comfortable middle ground: colorful enough to be distinctive, yet restrained enough for extended reading or large surface areas.

Psychological Impact

Yellow radiates optimism, intellect, and energy. It stimulates mental activity and generates a sense of cheerfulness, which makes it popular in children's products and educational materials. However, overly bright yellows can provoke anxiety, so context and tone matter.

With a mid-range lightness of 43%, this tone is highly versatile: dark enough to serve as body text on white, yet light enough to stand out on charcoal or navy backgrounds.

Creative Design Ideas

Pair canary yellow with charcoal for a modern, high-contrast editorial style. Use soft butter yellow as a background for recipe blogs or lifestyle content to evoke warmth. In branding, a yellow logomark on a white background signals innovation and forward-thinking (think Snapchat or National Geographic).

Every format

#9EB228 Color Conversions

Every way to write Citrus — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#9EB228

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(158, 178, 40)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(69, 63%, 43%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(69, 78%, 70%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(69 16% 30%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(11%, 0%, 78%, 30%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(72.40% 0.156 117.89)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(72.40% -0.073 0.138)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 68.94, a: -24.17, b: 62.74

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 68.94, C: 67.24, H: 111.07

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 30.40, Y: 39.26, Z: 7.98

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
10400296

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #9EB228

How much red, green and blue light mixes into Citrus.

Red 158/255 42.0% Green 178/255 47.3% Blue 40/255 10.6%

Percentages show each channel's share of the total light (R + G + B) in Citrus.

Ink coverage

CMYK Ink Levels & Print Guide for #9EB228

Ink needed to reproduce Citrus in four-color print. Heaviest ink: Yellow.

11% CYAN 0% MAGENTA 78% YELLOW 30% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #9EB228

How bright Citrus is, and how far black and white text clear each WCAG bar.

Relative luminance 0.393
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 8.85:1 ✓ AA ✓ AAA ✓ Large
Aa White text 2.37:1 ✕ AA ✕ AAA ✕ Large

Developer shortcuts

Quick CSS Snippets for #9EB228

Copy-and-paste CSS for Citrus — per-line copy, or grab the whole block.

citrus.css
background-color: #9EB228;
color: #9EB228;
border: 2px solid #9EB228;
background-color: rgb(158, 178, 40);
background-color: hsl(69, 63%, 43%);
--color: #9EB228;

Shades · light to dark

#9EB228 Monochrome Palette

Lighter and darker steps of Citrus — the color's full brightness range in one strip.

#F5F7E9
#E7ECC9
#D8E0A9
#CAD589
#BBC969
#ADBE48
#9EB228
#869722
#6F7D1C
#576216
#3F4710
#282D0A
#101204

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#9EB228 Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#9EB228
#3D29B3

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#9EB228 Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#9EB228
#59B329
#B38229
#29B33D
#B33D29
#29B382
#B32959

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#9EB228 Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#9EB228
#299EB3
#B3299E

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#9EB228 Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#9EB228
#29B382
#3D29B3
#B32959

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #9EB228

How Citrus reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#9EB228
#A5A451
#A7A749
#9F646A
#A4A4A4
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✕ Not friendly Achromatopsia total color blindness ✕ Not friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #9EB228

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#3D29B3
#59B329
#299EB3
#29B382
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#9EB228 Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Lush Bamboo#AABB33
Gameboy Screen#88AA11
Tender Shoot#BBCC44
Green Thumb#779900
Citrus#99BB00
Springtide Melodies#99AA44
Jubilant Meadow#88BB33
Honey and Thyme#AAAA22

From the color-name library

Colors Similar to #9EB228

The closest named colors to #9EB228 — same mood, each with its own character.

Citrus#9FB70A
Augustus Asparagus#90AA0B
Limolicious#97B73A
Lush Bamboo#AFBB33
Machu Picchu Gardens#99BB33
Gameboy Screen#8BAC0F
Leafy Woodland#AABB11
Pea#A4BF20
German Hop#89AC27
Guardian of Gardens#88AA22
Grinch Green#93B83D
Funky Frog#98BD3C

Looking for more Yellow shades? Browse Yellow colors →

Inspiration

Explore Vibrant Images Featuring Citrus (#9eb228)

Curated Unsplash photos that carry the mood of Citrus — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #9EB228

#9EB228 is a warm color from the Yellow family. Its closest matched name is “Citrus”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(158, 178, 40); in HSL, hsl(69, 63%, 43%).
In RGB, #9EB228 is rgb(158, 178, 40); in HSL it is hsl(69, 63%, 43%); and in CMYK — the model used for print — it is cmyk(11%, 0%, 78%, 30%).
#9EB228 has a contrast ratio of 8.85:1 against black and 2.37:1 against white. For readability, black body text meets the WCAG AA threshold of 4.5:1 on it, while white does not.
The direct complement of #9EB228 is #3D29B3 (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #9EB228 in the palette sections above.