#9D942E#9D942E
#9D942E is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.121 H 104.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D942E |
|---|---|
| RGB | rgb(157, 148, 46) |
| HSL | hsl(55, 55%, 40%) |
| HSV | hsv(55, 71%, 62%) |
| CMYK | cmyk(0%, 5.7%, 70.7%, 38.4%) |
| CIE-LAB | lab(60.38, -8.91, 52.42) |
| CIE-LCH | lch(60.38, 53.18, 99.64°) |
| OKLab | oklab(65.54% -0.0296 0.1169) |
| OKLCH | oklch(65.54% 0.121 104.2) |
| XYZ | xyz(24.9887, 28.5461, 6.7779) |
| Luminance | 0.2854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.12
Baby Poop Green
#8F9805
ΔE00 5.37
Baby Poo
#AB9004
ΔE00 6.05
Vomit
#A2A415
ΔE00 6.07
Baby Shit Brown
#AD900D
ΔE00 6.43
Baby Shit Green
#889717
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D942E #2E379D
analogous
#9D5C2E #9D942E #6F9D2E
triadic
#9D942E #2E9D94 #942E9D
tetradic
#9D942E #2E9D5C #2E379D #9D2E6F
square
#9D942E #2E9D5C #2E379D #9D2E6F
split-complementary
#9D942E #2E6F9D #5C2E9D
monochromatic
#3E3B12 #6E6720 #9D942E #C7BC41 #D5CD70
Accessibility & contrast
On white
3.13
#9D942E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#9D942E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D942E
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D942E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D942E | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18F1E
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#A98A80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d942e; /* rgb */ color: rgb(157, 148, 46); /* oklch */ color: oklch(65.5% 0.121 104.2);
Tailwind
colors: {
custom: {
50: '#bdb36d',
500: '#9d942e',
950: '#000000',
},
}SCSS
$custom: #9d942e; $custom-light: #bdb36d; $custom-dark: #000000;
JSON
{
"hex": "#9d942e",
"rgb": {
"r": 157,
"g": 148,
"b": 46
},
"hsl": {
"h": 55.135,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.65538,
"c": 0.12056,
"h": 104.2
},
"luminance": 0.28545
}Semantic roles & 50–950 ramp
primary
#9D942E
secondary
#6A71BD
accent
#56DE4A
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#121107
muted
#81807A