#7C7D14#7C7D14
#7C7D14 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.118 H 110.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7D14 |
|---|---|
| RGB | rgb(124, 125, 20) |
| HSL | hsl(61, 72%, 28%) |
| HSV | hsv(61, 84%, 49%) |
| CMYK | cmyk(0.8%, 0%, 84%, 51%) |
| CIE-LAB | lab(50.69, -12.70, 51.40) |
| CIE-LCH | lch(50.69, 52.95, 103.88°) |
| OKLab | oklab(57.06% -0.0409 0.111) |
| OKLCH | oklch(57.06% 0.118 110.2) |
| XYZ | xyz(15.7727, 19.0033, 3.4988) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.98
Shit Green
#758000
ΔE00 2.84
Poop Green
#6F7C00
ΔE00 3.51
Olive (survey)
#6E750E
ΔE00 4.02
Murky Green
#6C7A0E
ΔE00 4.23
Swamp Green
#748500
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7D14 #15147D
analogous
#7D4914 #7C7D14 #477D14
triadic
#7C7D14 #147C7D #7D147C
tetradic
#7C7D14 #147D49 #15147D #7D1447
square
#7C7D14 #147D49 #15147D #7D1447
split-complementary
#7C7D14 #14477D #49147D
monochromatic
#1A1A04 #48480C #7C7D14 #B0B21C #DCDE2E
Accessibility & contrast
On white
4.37
#7C7D14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7C7D14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7D14
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7D14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7D14 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#85746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7d14; /* rgb */ color: rgb(124, 125, 20); /* oklch */ color: oklch(57.1% 0.118 110.2);
Tailwind
colors: {
custom: {
50: '#a5a25d',
500: '#7c7d14',
950: '#000000',
},
}SCSS
$custom: #7c7d14; $custom-light: #a5a25d; $custom-dark: #000000;
JSON
{
"hex": "#7c7d14",
"rgb": {
"r": 124,
"g": 125,
"b": 20
},
"hsl": {
"h": 60.571,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.57058,
"c": 0.11831,
"h": 110.2
},
"luminance": 0.19003
}Semantic roles & 50–950 ramp
primary
#7C7D14
secondary
#3C3AB2
accent
#39EF3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79