#7C7318#7C7318
#7C7318 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.107 H 103.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7318 |
|---|---|
| RGB | rgb(124, 115, 24) |
| HSL | hsl(55, 68%, 29%) |
| HSV | hsv(55, 81%, 49%) |
| CMYK | cmyk(0%, 7.3%, 80.6%, 51.4%) |
| CIE-LAB | lab(47.77, -7.04, 47.58) |
| CIE-LCH | lch(47.77, 48.10, 98.41°) |
| OKLab | oklab(54.73% -0.0247 0.1036) |
| OKLCH | oklch(54.73% 0.107 103.4) |
| XYZ | xyz(14.6085, 16.6131, 3.3011) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.89
Brown Green
#706C11
ΔE00 3.44
Browny Green
#6F6C0A
ΔE00 3.66
Olive (survey)
#6E750E
ΔE00 4.92
Brownish Green
#6A6E09
ΔE00 4.97
Hazel
#8E7618
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7318 #18217C
analogous
#7C4118 #7C7318 #537C18
triadic
#7C7318 #187C73 #73187C
tetradic
#7C7318 #187C41 #18217C #7C1853
square
#7C7318 #187C41 #18217C #7C1853
split-complementary
#7C7318 #18537C #41187C
monochromatic
#1A1805 #49430E #7C7318 #AFA322 #D8CA36
Accessibility & contrast
On white
4.86
#7C7318 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7C7318 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7318
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7318 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c7318; /* rgb */ color: rgb(124, 115, 24); /* oklch */ color: oklch(54.7% 0.107 103.4);
Tailwind
colors: {
custom: {
50: '#a59b5e',
500: '#7c7318',
950: '#000000',
},
}SCSS
$custom: #7c7318; $custom-light: #a59b5e; $custom-dark: #000000;
JSON
{
"hex": "#7c7318",
"rgb": {
"r": 124,
"g": 115,
"b": 24
},
"hsl": {
"h": 54.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.54733,
"c": 0.10653,
"h": 103.4
},
"luminance": 0.16613
}Semantic roles & 50–950 ramp
primary
#7C7318
secondary
#3F49B1
accent
#4DEA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79