#7C7F10#7C7F10
#7C7F10 is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.122 H 111.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7F10 |
|---|---|
| RGB | rgb(124, 127, 16) |
| HSL | hsl(62, 78%, 28%) |
| HSV | hsv(62, 87%, 50%) |
| CMYK | cmyk(2.4%, 0%, 87.4%, 50.2%) |
| CIE-LAB | lab(51.27, -13.90, 52.93) |
| CIE-LCH | lch(51.27, 54.72, 104.72°) |
| OKLab | oklab(57.52% -0.0445 0.1136) |
| OKLCH | oklch(57.52% 0.122 111.4) |
| XYZ | xyz(15.9957, 19.5017, 3.4117) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.58
Shit Green
#758000
ΔE00 2.18
Poop Green
#6F7C00
ΔE00 3.29
Swamp Green
#748500
ΔE00 3.83
Murky Green
#6C7A0E
ΔE00 4.23
Olive (survey)
#6E750E
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7F10 #13107F
analogous
#7F4B10 #7C7F10 #447F10
triadic
#7C7F10 #107C7F #7F107C
tetradic
#7C7F10 #107F4B #13107F #7F1044
square
#7C7F10 #107F4B #13107F #7F1044
split-complementary
#7C7F10 #10447F #4B107F
monochromatic
#1B1B03 #474909 #7C7F10 #B1B517 #DEE426
Accessibility & contrast
On white
4.29
#7C7F10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7C7F10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7F10
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7F10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7F10 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 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)
#8A7B1C
Tritanopia (blue-blind)
#85766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7c7f10; /* rgb */ color: rgb(124, 127, 16); /* oklch */ color: oklch(57.5% 0.122 111.4);
Tailwind
colors: {
custom: {
50: '#a6a35c',
500: '#7c7f10',
950: '#000000',
},
}SCSS
$custom: #7c7f10; $custom-light: #a6a35c; $custom-dark: #000000;
JSON
{
"hex": "#7c7f10",
"rgb": {
"r": 124,
"g": 127,
"b": 16
},
"hsl": {
"h": 61.622,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.57515,
"c": 0.12201,
"h": 111.4
},
"luminance": 0.19501
}Semantic roles & 50–950 ramp
primary
#7C7F10
secondary
#3936B5
accent
#34F439
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79