#9DA840#9DA840
#9DA840 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.128 H 114.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9DA840 |
|---|---|
| RGB | rgb(157, 168, 64) |
| HSL | hsl(66, 45%, 45%) |
| HSV | hsv(66, 62%, 66%) |
| CMYK | cmyk(6.5%, 0%, 61.9%, 34.1%) |
| CIE-LAB | lab(66.17, -18.22, 50.87) |
| CIE-LCH | lch(66.17, 54.03, 109.71°) |
| OKLab | oklab(70.21% -0.0539 0.1164) |
| OKLCH | oklch(70.21% 0.128 114.9) |
| XYZ | xyz(28.8333, 35.5440, 10.1913) |
| Luminance | 0.3554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 3.78
Booger
#9BB53C
ΔE00 4.50
Icky Green
#8FAE22
ΔE00 4.85
Vomit
#A2A415
ΔE00 4.89
Puke Green
#9AAE07
ΔE00 4.92
Pea Green
#8EAB12
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DA840 #4B40A8
analogous
#A87F40 #9DA840 #69A840
triadic
#9DA840 #409DA8 #A8409D
tetradic
#9DA840 #40A87F #4B40A8 #A84069
square
#9DA840 #40A87F #4B40A8 #A84069
split-complementary
#9DA840 #4069A8 #7F40A8
monochromatic
#4A4F1E #747C2F #9DA840 #B9C362 #CDD48E
Accessibility & contrast
On white
2.59
#9DA840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#9DA840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DA840
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DA840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DA840 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#A79F92
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9da840; /* rgb */ color: rgb(157, 168, 64); /* oklch */ color: oklch(70.2% 0.128 114.9);
Tailwind
colors: {
custom: {
50: '#bcc179',
500: '#9da840',
950: '#000000',
},
}SCSS
$custom: #9da840; $custom-light: #bcc179; $custom-dark: #000000;
JSON
{
"hex": "#9da840",
"rgb": {
"r": 157,
"g": 168,
"b": 64
},
"hsl": {
"h": 66.346,
"s": 44.828,
"l": 45.49
},
"oklch": {
"l": 0.70208,
"c": 0.1283,
"h": 114.9
},
"luminance": 0.35544
}Semantic roles & 50–950 ramp
primary
#9DA840
secondary
#8B85BF
accent
#53D561
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B