#9DB227#9DB227
#9DB227 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.3% C 0.157 H 118.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9DB227 |
|---|---|
| RGB | rgb(157, 178, 39) |
| HSL | hsl(69, 64%, 43%) |
| HSV | hsv(69, 78%, 70%) |
| CMYK | cmyk(11.8%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(68.86, -24.64, 62.95) |
| CIE-LCH | lch(68.86, 67.60, 111.37°) |
| OKLab | oklab(72.32% -0.0741 0.1379) |
| OKLCH | oklch(72.32% 0.157 118.3) |
| XYZ | xyz(30.1919, 39.1557, 7.8863) |
| Luminance | 0.3916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.84
Puke Green
#9AAE07
ΔE00 1.89
Booger Green
#96B403
ΔE00 2.13
Sick Green
#9DB92C
ΔE00 2.16
Barf Green
#94AC02
ΔE00 2.35
Booger
#9BB53C
ΔE00 2.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DB227 #3C27B2
analogous
#B28227 #9DB227 #57B227
triadic
#9DB227 #279DB2 #B2279D
tetradic
#9DB227 #27B282 #3C27B2 #B22757
square
#9DB227 #27B282 #3C27B2 #B22757
split-complementary
#9DB227 #2757B2 #8227B2
monochromatic
#444E11 #71801C #9DB227 #BFD541 #D0E073
Accessibility & contrast
On white
2.38
#9DB227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#9DB227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DB227
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DB227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DB227 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#A7A898
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9db227; /* rgb */ color: rgb(157, 178, 39); /* oklch */ color: oklch(72.3% 0.157 118.3);
Tailwind
colors: {
custom: {
50: '#bec96d',
500: '#9db227',
950: '#000000',
},
}SCSS
$custom: #9db227; $custom-light: #bec96d; $custom-dark: #000000;
JSON
{
"hex": "#9db227",
"rgb": {
"r": 157,
"g": 178,
"b": 39
},
"hsl": {
"h": 69.065,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.72318,
"c": 0.15652,
"h": 118.3
},
"luminance": 0.39155
}Semantic roles & 50–950 ramp
primary
#9DB227
secondary
#7B6DC8
accent
#41E75A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A