#84781B#84781B
#84781B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.109 H 101.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #84781B |
|---|---|
| RGB | rgb(132, 120, 27) |
| HSL | hsl(53, 66%, 31%) |
| HSV | hsv(53, 80%, 52%) |
| CMYK | cmyk(0%, 9.1%, 79.5%, 48.2%) |
| CIE-LAB | lab(50.00, -5.95, 48.86) |
| CIE-LCH | lch(50.00, 49.22, 96.94°) |
| OKLab | oklab(56.69% -0.0218 0.1066) |
| OKLCH | oklch(56.69% 0.109 101.6) |
| XYZ | xyz(16.4308, 18.4184, 3.7263) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.00
Hazel
#8E7618
ΔE00 3.97
Olive
#808000
ΔE00 4.74
Baby Poop
#937C00
ΔE00 4.79
Poo
#8F7303
ΔE00 5.43
Puke Brown
#947706
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#84781B #1B2784
analogous
#84431B #84781B #5B841B
triadic
#84781B #1B8478 #781B84
tetradic
#84781B #1B8443 #1B2784 #841B5B
square
#84781B #1B8443 #1B2784 #841B5B
split-complementary
#84781B #1B5B84 #431B84
monochromatic
#1E1C06 #514A11 #84781B #B7A625 #D8C741
Accessibility & contrast
On white
4.48
#84781B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#84781B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #84781B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##84781B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##84781B | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#8F6F67
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #84781b; /* rgb */ color: rgb(132, 120, 27); /* oklch */ color: oklch(56.7% 0.109 101.6);
Tailwind
colors: {
custom: {
50: '#ab9e60',
500: '#84781b',
950: '#000000',
},
}SCSS
$custom: #84781b; $custom-light: #ab9e60; $custom-dark: #000000;
JSON
{
"hex": "#84781b",
"rgb": {
"r": 132,
"g": 120,
"b": 27
},
"hsl": {
"h": 53.143,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.56694,
"c": 0.1088,
"h": 101.6
},
"luminance": 0.18418
}Semantic roles & 50–950 ramp
primary
#84781B
secondary
#4351B7
accent
#52E93F
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110E05
muted
#807E79