#7A6C18#7A6C18
#7A6C18 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.101 H 99.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7A6C18 |
|---|---|
| RGB | rgb(122, 108, 24) |
| HSL | hsl(51, 67%, 29%) |
| HSV | hsv(51, 80%, 48%) |
| CMYK | cmyk(0%, 11.5%, 80.3%, 52.2%) |
| CIE-LAB | lab(45.54, -4.02, 45.48) |
| CIE-LCH | lch(45.54, 45.66, 95.05°) |
| OKLab | oklab(52.91% -0.0161 0.0992) |
| OKLCH | oklch(52.91% 0.101 99.2) |
| XYZ | xyz(13.5542, 14.9293, 3.0317) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.89
Brown Green
#706C11
ΔE00 3.46
Browny Green
#6F6C0A
ΔE00 3.87
Greenish Brown
#696112
ΔE00 4.96
Greeny Brown
#696006
ΔE00 5.05
Hazel
#8E7618
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A6C18 #18267A
analogous
#7A3B18 #7A6C18 #577A18
triadic
#7A6C18 #187A6C #6C187A
tetradic
#7A6C18 #187A3B #18267A #7A1857
square
#7A6C18 #187A3B #18267A #7A1857
split-complementary
#7A6C18 #18577A #3B187A
monochromatic
#1A1705 #473F0E #7A6C18 #AD9922 #D7C035
Accessibility & contrast
On white
5.27
#7A6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7A6C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A6C18
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A6C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A6C18 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#84635C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7a6c18; /* rgb */ color: rgb(122, 108, 24); /* oklch */ color: oklch(52.9% 0.101 99.2);
Tailwind
colors: {
custom: {
50: '#a4955d',
500: '#7a6c18',
950: '#000000',
},
}SCSS
$custom: #7a6c18; $custom-light: #a4955d; $custom-dark: #000000;
JSON
{
"hex": "#7a6c18",
"rgb": {
"r": 122,
"g": 108,
"b": 24
},
"hsl": {
"h": 51.429,
"s": 67.123,
"l": 28.627
},
"oklch": {
"l": 0.52914,
"c": 0.10052,
"h": 99.2
},
"luminance": 0.14929
}Semantic roles & 50–950 ramp
primary
#7A6C18
secondary
#3F4FAF
accent
#56EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79