#796A1C#796A1C
#796A1C is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.096 H 97.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #796A1C |
|---|---|
| RGB | rgb(121, 106, 28) |
| HSL | hsl(50, 62%, 29%) |
| HSV | hsv(50, 77%, 47%) |
| CMYK | cmyk(0%, 12.4%, 76.9%, 52.5%) |
| CIE-LAB | lab(44.88, -3.17, 43.31) |
| CIE-LCH | lch(44.88, 43.42, 94.19°) |
| OKLab | oklab(52.38% -0.0132 0.0955) |
| OKLCH | oklch(52.38% 0.096 97.9) |
| XYZ | xyz(13.2495, 14.4575, 3.1911) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 3.94
Ugly Brown
#7D7103
ΔE00 3.95
Browny Green
#6F6C0A
ΔE00 4.41
Greenish Brown
#696112
ΔE00 4.49
Greeny Brown
#696006
ΔE00 4.68
Mud
#735C12
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796A1C #1C2B79
analogous
#793C1C #796A1C #5A791C
triadic
#796A1C #1C796A #6A1C79
tetradic
#796A1C #1C793C #1C2B79 #791C5A
square
#796A1C #1C793C #1C2B79 #791C5A
split-complementary
#796A1C #1C5A79 #3C1C79
monochromatic
#191606 #473E10 #796A1C #AB9628 #D2BA3D
Accessibility & contrast
On white
5.40
#796A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#796A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796A1C
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796A1C | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75670E
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#83625B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #796a1c; /* rgb */ color: rgb(121, 106, 28); /* oklch */ color: oklch(52.4% 0.096 97.9);
Tailwind
colors: {
custom: {
50: '#a3945e',
500: '#796a1c',
950: '#000000',
},
}SCSS
$custom: #796a1c; $custom-light: #a3945e; $custom-dark: #000000;
JSON
{
"hex": "#796a1c",
"rgb": {
"r": 121,
"g": 106,
"b": 28
},
"hsl": {
"h": 50.323,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.52379,
"c": 0.09639,
"h": 97.9
},
"luminance": 0.14457
}Semantic roles & 50–950 ramp
primary
#796A1C
secondary
#4455AD
accent
#5DE542
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79