#796A1E#796A1E
#796A1E is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.095 H 97.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #796A1E |
|---|---|
| RGB | rgb(121, 106, 30) |
| HSL | hsl(50, 60%, 30%) |
| HSV | hsv(50, 75%, 47%) |
| CMYK | cmyk(0%, 12.4%, 75.2%, 52.5%) |
| CIE-LAB | lab(44.90, -3.07, 42.50) |
| CIE-LCH | lch(44.90, 42.61, 94.13°) |
| OKLab | oklab(52.39% -0.0127 0.0942) |
| OKLCH | oklch(52.39% 0.095 97.7) |
| XYZ | xyz(13.2742, 14.4674, 3.3213) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.05
Ugly Brown
#7D7103
ΔE00 4.17
Greenish Brown
#696112
ΔE00 4.51
Browny Green
#6F6C0A
ΔE00 4.54
Greeny Brown
#696006
ΔE00 4.76
Mud
#735C12
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796A1E #1E2D79
analogous
#793D1E #796A1E #5B791E
triadic
#796A1E #1E796A #6A1E79
tetradic
#796A1E #1E793D #1E2D79 #791E5B
square
#796A1E #1E793D #1E2D79 #791E5B
split-complementary
#796A1E #1E5B79 #3D1E79
monochromatic
#191506 #483F12 #796A1E #AA952A #D0B841
Accessibility & contrast
On white
5.39
#796A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#796A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796A1E
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796A1E | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756712
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#83625B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #796a1e; /* rgb */ color: rgb(121, 106, 30); /* oklch */ color: oklch(52.4% 0.095 97.7);
Tailwind
colors: {
custom: {
50: '#a3945f',
500: '#796a1e',
950: '#000000',
},
}SCSS
$custom: #796a1e; $custom-light: #a3945f; $custom-dark: #000000;
JSON
{
"hex": "#796a1e",
"rgb": {
"r": 121,
"g": 106,
"b": 30
},
"hsl": {
"h": 50.11,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.52394,
"c": 0.09505,
"h": 97.7
},
"luminance": 0.14467
}Semantic roles & 50–950 ramp
primary
#796A1E
secondary
#4657AD
accent
#5FE344
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79