#7C7915#7C7915
#7C7915 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.114 H 107.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7915 |
|---|---|
| RGB | rgb(124, 121, 21) |
| HSL | hsl(58, 71%, 28%) |
| HSV | hsv(58, 83%, 49%) |
| CMYK | cmyk(0%, 2.4%, 83.1%, 51.4%) |
| CIE-LAB | lab(49.51, -10.48, 50.09) |
| CIE-LCH | lch(49.51, 51.18, 101.82°) |
| OKLab | oklab(56.12% -0.0346 0.1084) |
| OKLCH | oklch(56.12% 0.114 107.7) |
| XYZ | xyz(15.2855, 18.0145, 3.3813) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.15
Olive (survey)
#6E750E
ΔE00 3.76
Ugly Brown
#7D7103
ΔE00 3.88
Shit Green
#758000
ΔE00 4.36
Poop Green
#6F7C00
ΔE00 4.49
Murky Green
#6C7A0E
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7915 #15187C
analogous
#7C4515 #7C7915 #4B7C15
triadic
#7C7915 #157C79 #79157C
tetradic
#7C7915 #157C45 #15187C #7C154B
square
#7C7915 #157C45 #15187C #7C154B
split-complementary
#7C7915 #154B7C #45157C
monochromatic
#1A1A04 #48460C #7C7915 #B0AC1E #DCD730
Accessibility & contrast
On white
4.56
#7C7915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7C7915 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7915
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7915 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7915 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#867067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c7915; /* rgb */ color: rgb(124, 121, 21); /* oklch */ color: oklch(56.1% 0.114 107.7);
Tailwind
colors: {
custom: {
50: '#a59f5d',
500: '#7c7915',
950: '#000000',
},
}SCSS
$custom: #7c7915; $custom-light: #a59f5d; $custom-dark: #000000;
JSON
{
"hex": "#7c7915",
"rgb": {
"r": 124,
"g": 121,
"b": 21
},
"hsl": {
"h": 58.252,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.56118,
"c": 0.11379,
"h": 107.7
},
"luminance": 0.18014
}Semantic roles & 50–950 ramp
primary
#7C7915
secondary
#3C3FB1
accent
#3FEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79