#9D951F#9D951F
#9D951F is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.130 H 105.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D951F |
|---|---|
| RGB | rgb(157, 149, 31) |
| HSL | hsl(56, 67%, 37%) |
| HSV | hsv(56, 80%, 62%) |
| CMYK | cmyk(0%, 5.1%, 80.3%, 38.4%) |
| CIE-LAB | lab(60.57, -10.12, 57.93) |
| CIE-LCH | lch(60.57, 58.80, 99.91°) |
| OKLab | oklab(65.66% -0.0345 0.1257) |
| OKLCH | oklch(65.66% 0.13 105.3) |
| XYZ | xyz(24.9005, 28.7629, 5.5362) |
| Luminance | 0.2876 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.13
Baby Poop Green
#8F9805
ΔE00 4.54
Vomit
#A2A415
ΔE00 5.10
Puke
#A5A502
ΔE00 5.49
Baby Poo
#AB9004
ΔE00 5.77
Brown Yellow
#B29705
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D951F #1F279D
analogous
#9D561F #9D951F #669D1F
triadic
#9D951F #1F9D95 #951F9D
tetradic
#9D951F #1F9D56 #1F279D #9D1F66
square
#9D951F #1F9D56 #1F279D #9D1F66
split-complementary
#9D951F #1F669D #561F9D
monochromatic
#37340B #6A6415 #9D951F #D0C629 #DED658
Accessibility & contrast
On white
3.11
#9D951F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#9D951F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D951F
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D951F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D951F | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A69429
Tritanopia (blue-blind)
#A98A7F
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d951f; /* rgb */ color: rgb(157, 149, 31); /* oklch */ color: oklch(65.7% 0.130 105.3);
Tailwind
colors: {
custom: {
50: '#beb366',
500: '#9d951f',
950: '#000000',
},
}SCSS
$custom: #9d951f; $custom-light: #beb366; $custom-dark: #000000;
JSON
{
"hex": "#9d951f",
"rgb": {
"r": 157,
"g": 149,
"b": 31
},
"hsl": {
"h": 56.19,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.65664,
"c": 0.13033,
"h": 105.3
},
"luminance": 0.28762
}Semantic roles & 50–950 ramp
primary
#9D951F
secondary
#565DC2
accent
#49EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A