#908D1B#908D1B
#908D1B is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.127 H 108.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #908D1B |
|---|---|
| RGB | rgb(144, 141, 27) |
| HSL | hsl(58, 68%, 34%) |
| HSV | hsv(58, 81%, 56%) |
| CMYK | cmyk(0%, 2.1%, 81.3%, 43.5%) |
| CIE-LAB | lab(57.13, -11.88, 55.66) |
| CIE-LCH | lch(57.13, 56.91, 102.05°) |
| OKLab | oklab(62.64% -0.0391 0.1206) |
| OKLCH | oklch(62.64% 0.127 108) |
| XYZ | xyz(21.2252, 25.0589, 4.7555) |
| Luminance | 0.2506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.49
Pea Soup
#929901
ΔE00 4.60
Olive
#808000
ΔE00 5.06
Baby Shit Green
#889717
ΔE00 5.16
Swamp Green
#748500
ΔE00 6.78
Shit Green
#758000
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908D1B #1B1E90
analogous
#90521B #908D1B #58901B
triadic
#908D1B #1B908D #8D1B90
tetradic
#908D1B #1B9052 #1B1E90 #901B58
square
#908D1B #1B9052 #1B1E90 #901B58
split-complementary
#908D1B #1B5890 #521B90
monochromatic
#292808 #5C5B11 #908D1B #C4BF25 #DDD949
Accessibility & contrast
On white
3.49
#908D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#908D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908D1B
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908D1B | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#9B8378
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #908d1b; /* rgb */ color: rgb(144, 141, 27); /* oklch */ color: oklch(62.6% 0.127 108.0);
Tailwind
colors: {
custom: {
50: '#b4ae63',
500: '#908d1b',
950: '#000000',
},
}SCSS
$custom: #908d1b; $custom-light: #b4ae63; $custom-dark: #000000;
JSON
{
"hex": "#908d1b",
"rgb": {
"r": 144,
"g": 141,
"b": 27
},
"hsl": {
"h": 58.462,
"s": 68.421,
"l": 33.529
},
"oklch": {
"l": 0.62639,
"c": 0.12679,
"h": 108
},
"luminance": 0.25058
}Semantic roles & 50–950 ramp
primary
#908D1B
secondary
#484BBF
accent
#41EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A