#7C7118#7C7118
#7C7118 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.105 H 101.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7118 |
|---|---|
| RGB | rgb(124, 113, 24) |
| HSL | hsl(53, 68%, 29%) |
| HSV | hsv(53, 81%, 49%) |
| CMYK | cmyk(0%, 8.9%, 80.6%, 51.4%) |
| CIE-LAB | lab(47.19, -5.91, 47.06) |
| CIE-LCH | lch(47.19, 47.43, 97.16°) |
| OKLab | oklab(54.27% -0.0216 0.1025) |
| OKLCH | oklch(54.27% 0.105 101.9) |
| XYZ | xyz(14.3829, 16.1619, 3.2259) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.70
Brown Green
#706C11
ΔE00 3.32
Browny Green
#6F6C0A
ΔE00 3.62
Hazel
#8E7618
ΔE00 5.23
Brownish Green
#6A6E09
ΔE00 5.25
Olive (survey)
#6E750E
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7118 #18237C
analogous
#7C3F18 #7C7118 #557C18
triadic
#7C7118 #187C71 #71187C
tetradic
#7C7118 #187C3F #18237C #7C1855
square
#7C7118 #187C3F #18237C #7C1855
split-complementary
#7C7118 #18557C #3F187C
monochromatic
#1A1705 #49420E #7C7118 #AFA022 #D8C636
Accessibility & contrast
On white
4.96
#7C7118 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7C7118 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7118
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7118 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#866860
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c7118; /* rgb */ color: rgb(124, 113, 24); /* oklch */ color: oklch(54.3% 0.105 101.9);
Tailwind
colors: {
custom: {
50: '#a5995d',
500: '#7c7118',
950: '#000000',
},
}SCSS
$custom: #7c7118; $custom-light: #a5995d; $custom-dark: #000000;
JSON
{
"hex": "#7c7118",
"rgb": {
"r": 124,
"g": 113,
"b": 24
},
"hsl": {
"h": 53.4,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.5427,
"c": 0.10474,
"h": 101.9
},
"luminance": 0.16161
}Semantic roles & 50–950 ramp
primary
#7C7118
secondary
#3F4CB1
accent
#50EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79