#908A1C#908A1C
#908A1C is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.123 H 106.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #908A1C |
|---|---|
| RGB | rgb(144, 138, 28) |
| HSL | hsl(57, 67%, 34%) |
| HSV | hsv(57, 81%, 56%) |
| CMYK | cmyk(0%, 4.2%, 80.6%, 43.5%) |
| CIE-LAB | lab(56.28, -10.23, 54.60) |
| CIE-LCH | lch(56.28, 55.55, 100.62°) |
| OKLab | oklab(61.96% -0.0344 0.1185) |
| OKLCH | oklch(61.96% 0.123 106.2) |
| XYZ | xyz(20.8006, 24.1909, 4.6720) |
| Luminance | 0.2419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 5.72
Pea Soup
#929901
ΔE00 5.80
Baby Shit Green
#889717
ΔE00 6.34
Baby Poop
#937C00
ΔE00 6.65
Shit Green
#758000
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908A1C #1C2290
analogous
#90501C #908A1C #5C901C
triadic
#908A1C #1C908A #8A1C90
tetradic
#908A1C #1C9050 #1C2290 #901C5C
square
#908A1C #1C9050 #1C2290 #901C5C
split-complementary
#908A1C #1C5C90 #501C90
monochromatic
#2A2808 #5D5912 #908A1C #C3BB26 #DCD44A
Accessibility & contrast
On white
3.60
#908A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#908A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908A1C
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908A1C | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #908a1c; /* rgb */ color: rgb(144, 138, 28); /* oklch */ color: oklch(62.0% 0.123 106.2);
Tailwind
colors: {
custom: {
50: '#b4ab63',
500: '#908a1c',
950: '#000000',
},
}SCSS
$custom: #908a1c; $custom-light: #b4ab63; $custom-dark: #000000;
JSON
{
"hex": "#908a1c",
"rgb": {
"r": 144,
"g": 138,
"b": 28
},
"hsl": {
"h": 56.897,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.61959,
"c": 0.12343,
"h": 106.2
},
"luminance": 0.2419
}Semantic roles & 50–950 ramp
primary
#908A1C
secondary
#4A50BE
accent
#46EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A