#7C7E13#7C7E13
#7C7E13 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.120 H 110.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7E13 |
|---|---|
| RGB | rgb(124, 126, 19) |
| HSL | hsl(61, 74%, 28%) |
| HSV | hsv(61, 85%, 49%) |
| CMYK | cmyk(1.6%, 0%, 84.9%, 50.6%) |
| CIE-LAB | lab(50.98, -13.27, 51.93) |
| CIE-LCH | lch(50.98, 53.59, 104.34°) |
| OKLab | oklab(57.29% -0.0425 0.112) |
| OKLCH | oklch(57.29% 0.12 110.8) |
| XYZ | xyz(15.8912, 19.2543, 3.4953) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.79
Shit Green
#758000
ΔE00 2.51
Poop Green
#6F7C00
ΔE00 3.37
Murky Green
#6C7A0E
ΔE00 4.19
Olive (survey)
#6E750E
ΔE00 4.21
Swamp Green
#748500
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7E13 #15137E
analogous
#7E4A13 #7C7E13 #467E13
triadic
#7C7E13 #137C7E #7E137C
tetradic
#7C7E13 #137E4A #15137E #7E1346
square
#7C7E13 #137E4A #15137E #7E1346
split-complementary
#7C7E13 #13467E #4A137E
monochromatic
#1A1B04 #48490B #7C7E13 #B0B31B #DCDF2C
Accessibility & contrast
On white
4.33
#7C7E13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7C7E13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7E13
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7E13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7E13 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7e13; /* rgb */ color: rgb(124, 126, 19); /* oklch */ color: oklch(57.3% 0.120 110.8);
Tailwind
colors: {
custom: {
50: '#a5a35d',
500: '#7c7e13',
950: '#000000',
},
}SCSS
$custom: #7c7e13; $custom-light: #a5a35d; $custom-dark: #000000;
JSON
{
"hex": "#7c7e13",
"rgb": {
"r": 124,
"g": 126,
"b": 19
},
"hsl": {
"h": 61.121,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.5729,
"c": 0.11978,
"h": 110.8
},
"luminance": 0.19254
}Semantic roles & 50–950 ramp
primary
#7C7E13
secondary
#3C39B4
accent
#37F03B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79