#7A7F1D#7A7F1D
#7A7F1D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.116 H 112.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7F1D |
|---|---|
| RGB | rgb(122, 127, 29) |
| HSL | hsl(63, 63%, 31%) |
| HSV | hsv(63, 77%, 50%) |
| CMYK | cmyk(3.9%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(51.16, -14.33, 48.90) |
| CIE-LCH | lch(51.16, 50.96, 106.34°) |
| OKLab | oklab(57.4% -0.0445 0.1075) |
| OKLCH | oklch(57.4% 0.116 112.5) |
| XYZ | xyz(15.8377, 19.4054, 4.0735) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.35
Olive
#808000
ΔE00 2.98
Poop Green
#6F7C00
ΔE00 3.05
Murky Green
#6C7A0E
ΔE00 3.58
Swamp Green
#748500
ΔE00 3.74
Olive (survey)
#6E750E
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7F1D #221D7F
analogous
#7F531D #7A7F1D #497F1D
triadic
#7A7F1D #1D7A7F #7F1D7A
tetradic
#7A7F1D #1D7F53 #221D7F #7F1D49
square
#7A7F1D #1D7F53 #221D7F #7F1D49
split-complementary
#7A7F1D #1D497F #531D7F
monochromatic
#1A1B06 #4A4D12 #7A7F1D #AAB128 #CDD442
Accessibility & contrast
On white
4.30
#7A7F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7A7F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7F1D
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7F1D | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897906
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#83776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7a7f1d; /* rgb */ color: rgb(122, 127, 29); /* oklch */ color: oklch(57.4% 0.116 112.5);
Tailwind
colors: {
custom: {
50: '#a4a362',
500: '#7a7f1d',
950: '#000000',
},
}SCSS
$custom: #7a7f1d; $custom-light: #a4a362; $custom-dark: #000000;
JSON
{
"hex": "#7a7f1d",
"rgb": {
"r": 122,
"g": 127,
"b": 29
},
"hsl": {
"h": 63.061,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.57403,
"c": 0.11637,
"h": 112.5
},
"luminance": 0.19405
}Semantic roles & 50–950 ramp
primary
#7A7F1D
secondary
#4B45B2
accent
#42E64A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A