#796A30#796A30
#796A30 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.080 H 95.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #796A30 |
|---|---|
| RGB | rgb(121, 106, 48) |
| HSL | hsl(48, 43%, 33%) |
| HSV | hsv(48, 60%, 47%) |
| CMYK | cmyk(0%, 12.4%, 60.3%, 52.5%) |
| CIE-LAB | lab(45.06, -1.86, 34.16) |
| CIE-LCH | lch(45.06, 34.21, 93.11°) |
| OKLab | oklab(52.58% -0.007 0.0795) |
| OKLCH | oklch(52.58% 0.08 95) |
| XYZ | xyz(13.5732, 14.5870, 4.8964) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 5.77
Mud
#735C12
ΔE00 6.04
Brown Green
#706C11
ΔE00 6.13
Greeny Brown
#696006
ΔE00 6.47
Browny Green
#6F6C0A
ΔE00 6.72
Ugly Brown
#7D7103
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796A30 #303F79
analogous
#794530 #796A30 #637930
triadic
#796A30 #30796A #6A3079
tetradic
#796A30 #307945 #303F79 #793063
square
#796A30 #307945 #303F79 #793063
split-complementary
#796A30 #306379 #453079
monochromatic
#211D0D #4D441F #796A30 #A59041 #C1AE62
Accessibility & contrast
On white
5.36
#796A30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#796A30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796A30
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796A30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796A30 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#82635D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #796a30; /* rgb */ color: rgb(121, 106, 48); /* oklch */ color: oklch(52.6% 0.080 95.0);
Tailwind
colors: {
custom: {
50: '#a2946a',
500: '#796a30',
950: '#000000',
},
}SCSS
$custom: #796a30; $custom-light: #a2946a; $custom-dark: #000000;
JSON
{
"hex": "#796a30",
"rgb": {
"r": 121,
"g": 106,
"b": 48
},
"hsl": {
"h": 47.671,
"s": 43.195,
"l": 33.137
},
"oklch": {
"l": 0.5258,
"c": 0.07978,
"h": 95
},
"luminance": 0.14586
}Semantic roles & 50–950 ramp
primary
#796A30
secondary
#5D6CA8
accent
#6FD355
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A