#7C6C18#7C6C18
#7C6C18 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.101 H 97.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7C6C18 |
|---|---|
| RGB | rgb(124, 108, 24) |
| HSL | hsl(50, 68%, 29%) |
| HSV | hsv(50, 81%, 49%) |
| CMYK | cmyk(0%, 12.9%, 80.6%, 51.4%) |
| CIE-LAB | lab(45.74, -3.07, 45.74) |
| CIE-LCH | lch(45.74, 45.84, 93.84°) |
| OKLab | oklab(53.12% -0.0136 0.0997) |
| OKLCH | oklch(53.12% 0.101 97.7) |
| XYZ | xyz(13.8403, 15.0769, 3.0451) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.03
Brown Green
#706C11
ΔE00 4.16
Browny Green
#6F6C0A
ΔE00 4.54
Hazel
#8E7618
ΔE00 5.29
Greenish Brown
#696112
ΔE00 5.40
Greeny Brown
#696006
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C6C18 #18287C
analogous
#7C3A18 #7C6C18 #5A7C18
triadic
#7C6C18 #187C6C #6C187C
tetradic
#7C6C18 #187C3A #18287C #7C185A
square
#7C6C18 #187C3A #18287C #7C185A
split-complementary
#7C6C18 #185A7C #3A187C
monochromatic
#1A1605 #493F0E #7C6C18 #AF9922 #D8BE36
Accessibility & contrast
On white
5.23
#7C6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7C6C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C6C18
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C6C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C6C18 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786905
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#86635C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7c6c18; /* rgb */ color: rgb(124, 108, 24); /* oklch */ color: oklch(53.1% 0.101 97.7);
Tailwind
colors: {
custom: {
50: '#a5955d',
500: '#7c6c18',
950: '#000000',
},
}SCSS
$custom: #7c6c18; $custom-light: #a5955d; $custom-dark: #000000;
JSON
{
"hex": "#7c6c18",
"rgb": {
"r": 124,
"g": 108,
"b": 24
},
"hsl": {
"h": 50.4,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.53122,
"c": 0.10059,
"h": 97.7
},
"luminance": 0.15076
}Semantic roles & 50–950 ramp
primary
#7C6C18
secondary
#3F51B1
accent
#59EA3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79