#7C7215#7C7215
#7C7215 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.107 H 102.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7215 |
|---|---|
| RGB | rgb(124, 114, 21) |
| HSL | hsl(54, 71%, 28%) |
| HSV | hsv(54, 83%, 49%) |
| CMYK | cmyk(0%, 8.1%, 83.1%, 51.4%) |
| CIE-LAB | lab(47.46, -6.59, 48.29) |
| CIE-LCH | lch(47.46, 48.74, 97.77°) |
| OKLab | oklab(54.48% -0.0238 0.1045) |
| OKLCH | oklch(54.48% 0.107 102.8) |
| XYZ | xyz(14.4655, 16.3745, 3.1080) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.46
Brown Green
#706C11
ΔE00 3.37
Browny Green
#6F6C0A
ΔE00 3.58
Brownish Green
#6A6E09
ΔE00 5.08
Olive (survey)
#6E750E
ΔE00 5.23
Hazel
#8E7618
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7215 #151F7C
analogous
#7C3E15 #7C7215 #527C15
triadic
#7C7215 #157C72 #72157C
tetradic
#7C7215 #157C3E #151F7C #7C1552
square
#7C7215 #157C3E #151F7C #7C1552
split-complementary
#7C7215 #15527C #3E157C
monochromatic
#1A1804 #48420C #7C7215 #B0A21E #DCCB30
Accessibility & contrast
On white
4.91
#7C7215 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7C7215 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7215
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7215 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7215 | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#80731D
Tritanopia (blue-blind)
#866961
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c7215; /* rgb */ color: rgb(124, 114, 21); /* oklch */ color: oklch(54.5% 0.107 102.8);
Tailwind
colors: {
custom: {
50: '#a59a5c',
500: '#7c7215',
950: '#000000',
},
}SCSS
$custom: #7c7215; $custom-light: #a59a5c; $custom-dark: #000000;
JSON
{
"hex": "#7c7215",
"rgb": {
"r": 124,
"g": 114,
"b": 21
},
"hsl": {
"h": 54.175,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.54484,
"c": 0.10719,
"h": 102.8
},
"luminance": 0.16374
}Semantic roles & 50–950 ramp
primary
#7C7215
secondary
#3C47B1
accent
#4BEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79