#7C7F14#7C7F14
#7C7F14 is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.120 H 111.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7F14 |
|---|---|
| RGB | rgb(124, 127, 20) |
| HSL | hsl(62, 73%, 29%) |
| HSV | hsv(62, 84%, 50%) |
| CMYK | cmyk(2.4%, 0%, 84.3%, 50.2%) |
| CIE-LAB | lab(51.28, -13.78, 51.91) |
| CIE-LCH | lch(51.28, 53.71, 104.86°) |
| OKLab | oklab(57.53% -0.0439 0.1121) |
| OKLCH | oklch(57.53% 0.12 111.4) |
| XYZ | xyz(16.0284, 19.5148, 3.5841) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.83
Shit Green
#758000
ΔE00 2.26
Poop Green
#6F7C00
ΔE00 3.30
Swamp Green
#748500
ΔE00 3.87
Murky Green
#6C7A0E
ΔE00 4.15
Olive (survey)
#6E750E
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7F14 #17147F
analogous
#7F4D14 #7C7F14 #477F14
triadic
#7C7F14 #147C7F #7F147C
tetradic
#7C7F14 #147F4D #17147F #7F1447
square
#7C7F14 #147F4D #17147F #7F1447
split-complementary
#7C7F14 #14477F #4D147F
monochromatic
#1A1A04 #484A0C #7C7F14 #B0B41C #D9DE2F
Accessibility & contrast
On white
4.28
#7C7F14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7C7F14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7F14
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7F14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7F14 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#85766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7c7f14; /* rgb */ color: rgb(124, 127, 20); /* oklch */ color: oklch(57.5% 0.120 111.4);
Tailwind
colors: {
custom: {
50: '#a5a35e',
500: '#7c7f14',
950: '#000000',
},
}SCSS
$custom: #7c7f14; $custom-light: #a5a35e; $custom-dark: #000000;
JSON
{
"hex": "#7c7f14",
"rgb": {
"r": 124,
"g": 127,
"b": 20
},
"hsl": {
"h": 61.682,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.57532,
"c": 0.1204,
"h": 111.4
},
"luminance": 0.19514
}Semantic roles & 50–950 ramp
primary
#7C7F14
secondary
#3E3BB4
accent
#38EF3D
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79