#796E30#796E30
#796E30 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.083 H 99.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #796E30 |
|---|---|
| RGB | rgb(121, 110, 48) |
| HSL | hsl(51, 43%, 33%) |
| HSV | hsv(51, 60%, 47%) |
| CMYK | cmyk(0%, 9.1%, 60.3%, 52.5%) |
| CIE-LAB | lab(46.22, -4.16, 35.48) |
| CIE-LCH | lch(46.22, 35.72, 96.68°) |
| OKLab | oklab(53.5% -0.0136 0.0823) |
| OKLCH | oklch(53.5% 0.083 99.4) |
| XYZ | xyz(13.9951, 15.4308, 5.0370) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.89
Browny Green
#6F6C0A
ΔE00 5.50
Ugly Brown
#7D7103
ΔE00 5.80
Greenish Brown
#696112
ΔE00 5.88
Olive Drab
#6F7632
ΔE00 6.30
Greeny Brown
#696006
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796E30 #303B79
analogous
#794930 #796E30 #5F7930
triadic
#796E30 #30796E #6E3079
tetradic
#796E30 #307949 #303B79 #79305F
square
#796E30 #307949 #303B79 #79305F
split-complementary
#796E30 #305F79 #493079
monochromatic
#211E0D #4D461F #796E30 #A59641 #C1B362
Accessibility & contrast
On white
5.14
#796E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#796E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796E30
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796E30 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B2A
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#826760
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #796e30; /* rgb */ color: rgb(121, 110, 48); /* oklch */ color: oklch(53.5% 0.083 99.4);
Tailwind
colors: {
custom: {
50: '#a2976b',
500: '#796e30',
950: '#000000',
},
}SCSS
$custom: #796e30; $custom-light: #a2976b; $custom-dark: #000000;
JSON
{
"hex": "#796e30",
"rgb": {
"r": 121,
"g": 110,
"b": 48
},
"hsl": {
"h": 50.959,
"s": 43.195,
"l": 33.137
},
"oklch": {
"l": 0.53495,
"c": 0.08342,
"h": 99.4
},
"luminance": 0.1543
}Semantic roles & 50–950 ramp
primary
#796E30
secondary
#5D68A8
accent
#68D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A