#7C7018#7C7018
#7C7018 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.104 H 101.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7018 |
|---|---|
| RGB | rgb(124, 112, 24) |
| HSL | hsl(53, 68%, 29%) |
| HSV | hsv(53, 81%, 49%) |
| CMYK | cmyk(0%, 9.7%, 80.6%, 51.4%) |
| CIE-LAB | lab(46.90, -5.35, 46.79) |
| CIE-LCH | lch(46.90, 47.10, 96.52°) |
| OKLab | oklab(54.04% -0.02 0.1019) |
| OKLCH | oklch(54.04% 0.104 101.1) |
| XYZ | xyz(14.2719, 15.9400, 3.1890) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.80
Brown Green
#706C11
ΔE00 3.37
Browny Green
#6F6C0A
ΔE00 3.69
Hazel
#8E7618
ΔE00 5.16
Brownish Green
#6A6E09
ΔE00 5.46
Olive (survey)
#6E750E
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7018 #18247C
analogous
#7C3E18 #7C7018 #567C18
triadic
#7C7018 #187C70 #70187C
tetradic
#7C7018 #187C3E #18247C #7C1856
square
#7C7018 #187C3E #18247C #7C1856
split-complementary
#7C7018 #18567C #3E187C
monochromatic
#1A1705 #49420E #7C7018 #AF9E22 #D8C536
Accessibility & contrast
On white
5.01
#7C7018 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#7C7018 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7018
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7018 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c7018; /* rgb */ color: rgb(124, 112, 24); /* oklch */ color: oklch(54.0% 0.104 101.1);
Tailwind
colors: {
custom: {
50: '#a5985d',
500: '#7c7018',
950: '#000000',
},
}SCSS
$custom: #7c7018; $custom-light: #a5985d; $custom-dark: #000000;
JSON
{
"hex": "#7c7018",
"rgb": {
"r": 124,
"g": 112,
"b": 24
},
"hsl": {
"h": 52.8,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.54039,
"c": 0.10386,
"h": 101.1
},
"luminance": 0.15939
}Semantic roles & 50–950 ramp
primary
#7C7018
secondary
#3F4DB1
accent
#52EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79