#797717#797717
#797717 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.111 H 108.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #797717 |
|---|---|
| RGB | rgb(121, 119, 23) |
| HSL | hsl(59, 68%, 28%) |
| HSV | hsv(59, 81%, 47%) |
| CMYK | cmyk(0%, 1.7%, 81%, 52.5%) |
| CIE-LAB | lab(48.66, -10.71, 48.61) |
| CIE-LCH | lch(48.66, 49.78, 102.42°) |
| OKLab | oklab(55.38% -0.0349 0.1058) |
| OKLCH | oklch(55.38% 0.111 108.3) |
| XYZ | xyz(14.6372, 17.3210, 3.3827) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.02
Ugly Brown
#7D7103
ΔE00 3.81
Olive
#808000
ΔE00 4.03
Brown Green
#706C11
ΔE00 4.14
Browny Green
#6F6C0A
ΔE00 4.16
Brownish Green
#6A6E09
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797717 #171979
analogous
#794617 #797717 #4A7917
triadic
#797717 #177977 #771779
tetradic
#797717 #177946 #171979 #79174A
square
#797717 #177946 #171979 #79174A
split-complementary
#797717 #174A79 #461779
monochromatic
#1A1905 #46440D #797717 #ACAA21 #D8D532
Accessibility & contrast
On white
4.70
#797717 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#797717 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797717
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797717 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#826F65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #797717; /* rgb */ color: rgb(121, 119, 23); /* oklch */ color: oklch(55.4% 0.111 108.3);
Tailwind
colors: {
custom: {
50: '#a39e5e',
500: '#797717',
950: '#000000',
},
}SCSS
$custom: #797717; $custom-light: #a39e5e; $custom-dark: #000000;
JSON
{
"hex": "#797717",
"rgb": {
"r": 121,
"g": 119,
"b": 23
},
"hsl": {
"h": 58.776,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.55376,
"c": 0.11138,
"h": 108.3
},
"luminance": 0.1732
}Semantic roles & 50–950 ramp
primary
#797717
secondary
#3E40AE
accent
#40EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79