#8D781F#8D781F
#8D781F is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.107 H 95.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8D781F |
|---|---|
| RGB | rgb(141, 120, 31) |
| HSL | hsl(49, 64%, 34%) |
| HSV | hsv(49, 78%, 55%) |
| CMYK | cmyk(0%, 14.9%, 78%, 44.7%) |
| CIE-LAB | lab(50.92, -1.57, 48.58) |
| CIE-LCH | lch(50.92, 48.60, 91.85°) |
| OKLab | oklab(57.64% -0.0095 0.1064) |
| OKLCH | oklch(57.64% 0.107 95.1) |
| XYZ | xyz(17.9493, 19.1956, 4.0558) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.23
Puke Brown
#947706
ΔE00 3.08
Poo
#8F7303
ΔE00 3.11
Baby Poop
#937C00
ΔE00 3.20
Yellowish Brown
#9B7A01
ΔE00 4.61
Ugly Brown
#7D7103
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D781F #1F348D
analogous
#8D411F #8D781F #6B8D1F
triadic
#8D781F #1F8D78 #781F8D
tetradic
#8D781F #1F8D41 #1F348D #8D1F6B
square
#8D781F #1F8D41 #1F348D #8D1F6B
split-complementary
#8D781F #1F6B8D #411F8D
monochromatic
#292309 #5B4D14 #8D781F #BFA32A #D8BE4E
Accessibility & contrast
On white
4.34
#8D781F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#8D781F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D781F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D781F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D781F | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85760E
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#996E67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8d781f; /* rgb */ color: rgb(141, 120, 31); /* oklch */ color: oklch(57.6% 0.107 95.1);
Tailwind
colors: {
custom: {
50: '#b29e62',
500: '#8d781f',
950: '#000000',
},
}SCSS
$custom: #8d781f; $custom-light: #b29e62; $custom-dark: #000000;
JSON
{
"hex": "#8d781f",
"rgb": {
"r": 141,
"g": 120,
"b": 31
},
"hsl": {
"h": 48.545,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.57637,
"c": 0.10684,
"h": 95.1
},
"luminance": 0.19195
}Semantic roles & 50–950 ramp
primary
#8D781F
secondary
#4D62BB
accent
#61E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A