#848B19#848B19
#848B19 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.1% C 0.129 H 113.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #848B19 |
|---|---|
| RGB | rgb(132, 139, 25) |
| HSL | hsl(64, 70%, 32%) |
| HSV | hsv(64, 82%, 55%) |
| CMYK | cmyk(5%, 0%, 82%, 45.5%) |
| CIE-LAB | lab(55.52, -16.33, 54.44) |
| CIE-LCH | lch(55.52, 56.84, 106.70°) |
| OKLab | oklab(61.1% -0.051 0.1182) |
| OKLCH | oklch(61.1% 0.129 113.3) |
| XYZ | xyz(18.9244, 23.4414, 4.4473) |
| Luminance | 0.2344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 3.84
Baby Shit Green
#889717
ΔE00 4.15
Olive
#808000
ΔE00 4.22
Shit Green
#758000
ΔE00 4.54
Baby Poop Green
#8F9805
ΔE00 4.78
Dark Yellow Green
#728F02
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#848B19 #20198B
analogous
#8B5919 #848B19 #4B8B19
triadic
#848B19 #19848B #8B1984
tetradic
#848B19 #198B59 #20198B #8B194B
square
#848B19 #198B59 #20198B #8B194B
split-complementary
#848B19 #194B8B #59198B
monochromatic
#212306 #535710 #848B19 #B5BF22 #D3DD41
Accessibility & contrast
On white
3.69
#848B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#848B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #848B19
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##848B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##848B19 | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#8D8276
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #848b19; /* rgb */ color: rgb(132, 139, 25); /* oklch */ color: oklch(61.1% 0.129 113.3);
Tailwind
colors: {
custom: {
50: '#abac62',
500: '#848b19',
950: '#000000',
},
}SCSS
$custom: #848b19; $custom-light: #abac62; $custom-dark: #000000;
JSON
{
"hex": "#848b19",
"rgb": {
"r": 132,
"g": 139,
"b": 25
},
"hsl": {
"h": 63.684,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.611,
"c": 0.12867,
"h": 113.3
},
"luminance": 0.23441
}Semantic roles & 50–950 ramp
primary
#848B19
secondary
#4A42BE
accent
#3BEC46
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A