#908C1F#908C1F
#908C1F is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.124 H 107.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #908C1F |
|---|---|
| RGB | rgb(144, 140, 31) |
| HSL | hsl(58, 65%, 34%) |
| HSV | hsv(58, 78%, 56%) |
| CMYK | cmyk(0%, 2.8%, 78.5%, 43.5%) |
| CIE-LAB | lab(56.87, -11.19, 54.17) |
| CIE-LCH | lch(56.87, 55.31, 101.67°) |
| OKLab | oklab(62.43% -0.0368 0.1182) |
| OKLCH | oklch(62.43% 0.124 107.3) |
| XYZ | xyz(21.1279, 24.7851, 4.9671) |
| Luminance | 0.2478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 5.00
Pea Soup
#929901
ΔE00 5.12
Baby Shit Green
#889717
ΔE00 5.56
Swamp Green
#748500
ΔE00 6.84
Shit Green
#758000
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908C1F #1F2390
analogous
#90541F #908C1F #5C901F
triadic
#908C1F #1F908C #8C1F90
tetradic
#908C1F #1F9054 #1F2390 #901F5C
square
#908C1F #1F9054 #1F2390 #901F5C
split-complementary
#908C1F #1F5C90 #541F90
monochromatic
#2B2A09 #5E5B14 #908C1F #C2BD2A #D9D450
Accessibility & contrast
On white
3.53
#908C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#908C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908C1F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908C1F | 1.00 | 3.53 | 5.96 | 5.96 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988602
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#9B8278
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #908c1f; /* rgb */ color: rgb(144, 140, 31); /* oklch */ color: oklch(62.4% 0.124 107.3);
Tailwind
colors: {
custom: {
50: '#b4ad65',
500: '#908c1f',
950: '#000000',
},
}SCSS
$custom: #908c1f; $custom-light: #b4ad65; $custom-dark: #000000;
JSON
{
"hex": "#908c1f",
"rgb": {
"r": 144,
"g": 140,
"b": 31
},
"hsl": {
"h": 57.876,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.62432,
"c": 0.12381,
"h": 107.3
},
"luminance": 0.24784
}Semantic roles & 50–950 ramp
primary
#908C1F
secondary
#4E52BC
accent
#46E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A