#7C7418#7C7418
#7C7418 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.107 H 104.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7418 |
|---|---|
| RGB | rgb(124, 116, 24) |
| HSL | hsl(55, 68%, 29%) |
| HSV | hsv(55, 81%, 49%) |
| CMYK | cmyk(0%, 6.5%, 80.6%, 51.4%) |
| CIE-LAB | lab(48.06, -7.60, 47.85) |
| CIE-LCH | lch(48.06, 48.45, 99.02°) |
| OKLab | oklab(54.97% -0.0263 0.1042) |
| OKLCH | oklch(54.97% 0.107 104.2) |
| XYZ | xyz(14.7231, 16.8424, 3.3394) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.14
Brown Green
#706C11
ΔE00 3.60
Browny Green
#6F6C0A
ΔE00 3.78
Olive (survey)
#6E750E
ΔE00 4.62
Brownish Green
#6A6E09
ΔE00 4.89
Olive
#808000
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7418 #18207C
analogous
#7C4218 #7C7418 #527C18
triadic
#7C7418 #187C74 #74187C
tetradic
#7C7418 #187C42 #18207C #7C1852
square
#7C7418 #187C42 #18207C #7C1852
split-complementary
#7C7418 #18527C #42187C
monochromatic
#1A1805 #49440E #7C7418 #AFA422 #D8CB36
Accessibility & contrast
On white
4.81
#7C7418 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#7C7418 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7418
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7418 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7c7418; /* rgb */ color: rgb(124, 116, 24); /* oklch */ color: oklch(55.0% 0.107 104.2);
Tailwind
colors: {
custom: {
50: '#a59b5e',
500: '#7c7418',
950: '#000000',
},
}SCSS
$custom: #7c7418; $custom-light: #a59b5e; $custom-dark: #000000;
JSON
{
"hex": "#7c7418",
"rgb": {
"r": 124,
"g": 116,
"b": 24
},
"hsl": {
"h": 55.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.54965,
"c": 0.10745,
"h": 104.2
},
"luminance": 0.16842
}Semantic roles & 50–950 ramp
primary
#7C7418
secondary
#3F48B1
accent
#4BEA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79