#846F17#846F17
#846F17 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.104 H 94.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #846F17 |
|---|---|
| RGB | rgb(132, 111, 23) |
| HSL | hsl(48, 70%, 30%) |
| HSV | hsv(48, 83%, 52%) |
| CMYK | cmyk(0%, 15.9%, 82.6%, 48.2%) |
| CIE-LAB | lab(47.41, -1.01, 47.90) |
| CIE-LCH | lch(47.41, 47.92, 91.21°) |
| OKLab | oklab(54.64% -0.0083 0.1037) |
| OKLCH | oklch(54.64% 0.104 94.6) |
| XYZ | xyz(15.3557, 16.3372, 3.1550) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.16
Ugly Brown
#7D7103
ΔE00 3.49
Poo
#8F7303
ΔE00 3.50
Muddy Brown
#886806
ΔE00 4.17
Puke Brown
#947706
ΔE00 4.87
Baby Poop
#937C00
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#846F17 #172C84
analogous
#843817 #846F17 #638417
triadic
#846F17 #17846F #6F1784
tetradic
#846F17 #178438 #172C84 #841763
square
#846F17 #178438 #172C84 #841763
split-complementary
#846F17 #176384 #381784
monochromatic
#1C1705 #50430E #846F17 #B89B20 #DCBD39
Accessibility & contrast
On white
4.92
#846F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#846F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #846F17
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##846F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##846F17 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#8F655F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #846f17; /* rgb */ color: rgb(132, 111, 23); /* oklch */ color: oklch(54.6% 0.104 94.6);
Tailwind
colors: {
custom: {
50: '#ac985d',
500: '#846f17',
950: '#000000',
},
}SCSS
$custom: #846f17; $custom-light: #ac985d; $custom-dark: #000000;
JSON
{
"hex": "#846f17",
"rgb": {
"r": 132,
"g": 111,
"b": 23
},
"hsl": {
"h": 48.44,
"s": 70.323,
"l": 30.392
},
"oklch": {
"l": 0.54638,
"c": 0.10401,
"h": 94.6
},
"luminance": 0.16336
}Semantic roles & 50–950 ramp
primary
#846F17
secondary
#3F56B8
accent
#5DED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79