#9DA228#9DA228
#9DA228 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.138 H 111.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9DA228 |
|---|---|
| RGB | rgb(157, 162, 40) |
| HSL | hsl(62, 60%, 40%) |
| HSV | hsv(62, 75%, 64%) |
| CMYK | cmyk(3.1%, 0%, 75.3%, 36.5%) |
| CIE-LAB | lab(64.29, -16.56, 58.41) |
| CIE-LCH | lch(64.29, 60.71, 105.83°) |
| OKLab | oklab(68.65% -0.0517 0.1284) |
| OKLCH | oklch(68.65% 0.138 111.9) |
| XYZ | xyz(27.2089, 33.1626, 6.9748) |
| Luminance | 0.3316 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.06
Pea Soup Green
#94A617
ΔE00 3.14
Puke
#A5A502
ΔE00 3.18
Pea Soup
#929901
ΔE00 3.37
Baby Poop Green
#8F9805
ΔE00 3.75
Puke Green
#9AAE07
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DA228 #2D28A2
analogous
#A26A28 #9DA228 #60A228
triadic
#9DA228 #289DA2 #A2289D
tetradic
#9DA228 #28A26A #2D28A2 #A22860
square
#9DA228 #28A26A #2D28A2 #A22860
split-complementary
#9DA228 #2860A2 #6A28A2
monochromatic
#3E4010 #6D711C #9DA228 #C8CE39 #D6DA6A
Accessibility & contrast
On white
2.75
#9DA228 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#9DA228 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DA228
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DA228 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DA228 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A0C
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#A8988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9da228; /* rgb */ color: rgb(157, 162, 40); /* oklch */ color: oklch(68.7% 0.138 111.9);
Tailwind
colors: {
custom: {
50: '#bdbd6c',
500: '#9da228',
950: '#000000',
},
}SCSS
$custom: #9da228; $custom-light: #bdbd6c; $custom-dark: #000000;
JSON
{
"hex": "#9da228",
"rgb": {
"r": 157,
"g": 162,
"b": 40
},
"hsl": {
"h": 62.459,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.6865,
"c": 0.13843,
"h": 111.9
},
"luminance": 0.33162
}Semantic roles & 50–950 ramp
primary
#9DA228
secondary
#6965C1
accent
#44E44B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A