#7A7E1F#7A7E1F
#7A7E1F is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.114 H 111.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7E1F |
|---|---|
| RGB | rgb(122, 126, 31) |
| HSL | hsl(63, 61%, 31%) |
| HSV | hsv(63, 75%, 49%) |
| CMYK | cmyk(3.2%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(50.87, -13.70, 47.91) |
| CIE-LCH | lch(50.87, 49.83, 105.96°) |
| OKLab | oklab(57.18% -0.0426 0.1058) |
| OKLCH | oklch(57.18% 0.114 111.9) |
| XYZ | xyz(15.7347, 19.1586, 4.1652) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.75
Olive
#808000
ΔE00 3.17
Poop Green
#6F7C00
ΔE00 3.21
Murky Green
#6C7A0E
ΔE00 3.59
Olive (survey)
#6E750E
ΔE00 3.87
Swamp Green
#748500
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E1F #231F7E
analogous
#7E521F #7A7E1F #4A7E1F
triadic
#7A7E1F #1F7A7E #7E1F7A
tetradic
#7A7E1F #1F7E52 #231F7E #7E1F4A
square
#7A7E1F #1F7E52 #231F7E #7E1F4A
split-complementary
#7A7E1F #1F4A7E #521F7E
monochromatic
#1B1C07 #4A4D13 #7A7E1F #AAAF2B #CCD146
Accessibility & contrast
On white
4.35
#7A7E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7A7E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E1F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E1F | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#83766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a7e1f; /* rgb */ color: rgb(122, 126, 31); /* oklch */ color: oklch(57.2% 0.114 111.9);
Tailwind
colors: {
custom: {
50: '#a3a362',
500: '#7a7e1f',
950: '#000000',
},
}SCSS
$custom: #7a7e1f; $custom-light: #a3a362; $custom-dark: #000000;
JSON
{
"hex": "#7a7e1f",
"rgb": {
"r": 122,
"g": 126,
"b": 31
},
"hsl": {
"h": 62.526,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.57178,
"c": 0.11403,
"h": 111.9
},
"luminance": 0.19158
}Semantic roles & 50–950 ramp
primary
#7A7E1F
secondary
#4C48B1
accent
#44E44B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A