#7C6F17#7C6F17
#7C6F17 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.104 H 100.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7C6F17 |
|---|---|
| RGB | rgb(124, 111, 23) |
| HSL | hsl(52, 69%, 29%) |
| HSV | hsv(52, 81%, 49%) |
| CMYK | cmyk(0%, 10.5%, 81.5%, 51.4%) |
| CIE-LAB | lab(46.60, -4.82, 46.87) |
| CIE-LCH | lch(46.60, 47.12, 95.87°) |
| OKLab | oklab(53.8% -0.0186 0.1019) |
| OKLCH | oklch(53.8% 0.104 100.4) |
| XYZ | xyz(14.1520, 15.7165, 3.0986) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.90
Brown Green
#706C11
ΔE00 3.47
Browny Green
#6F6C0A
ΔE00 3.80
Hazel
#8E7618
ΔE00 5.12
Brownish Green
#6A6E09
ΔE00 5.68
Poo
#8F7303
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C6F17 #17247C
analogous
#7C3D17 #7C6F17 #577C17
triadic
#7C6F17 #177C6F #6F177C
tetradic
#7C6F17 #177C3D #17247C #7C1757
square
#7C6F17 #177C3D #17247C #7C1757
split-complementary
#7C6F17 #17577C #3D177C
monochromatic
#1A1705 #48410D #7C6F17 #B09D21 #D9C434
Accessibility & contrast
On white
5.07
#7C6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7C6F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C6F17
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C6F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C6F17 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#86665F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7c6f17; /* rgb */ color: rgb(124, 111, 23); /* oklch */ color: oklch(53.8% 0.104 100.4);
Tailwind
colors: {
custom: {
50: '#a5985d',
500: '#7c6f17',
950: '#000000',
},
}SCSS
$custom: #7c6f17; $custom-light: #a5985d; $custom-dark: #000000;
JSON
{
"hex": "#7c6f17",
"rgb": {
"r": 124,
"g": 111,
"b": 23
},
"hsl": {
"h": 52.277,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.53803,
"c": 0.10357,
"h": 100.4
},
"luminance": 0.15716
}Semantic roles & 50–950 ramp
primary
#7C6F17
secondary
#3E4DB1
accent
#53EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79