#7A7B2F#7A7B2F
#7A7B2F is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.098 H 109.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7B2F |
|---|---|
| RGB | rgb(122, 123, 47) |
| HSL | hsl(61, 45%, 33%) |
| HSV | hsv(61, 62%, 48%) |
| CMYK | cmyk(0.8%, 0%, 61.8%, 51.8%) |
| CIE-LAB | lab(50.11, -11.06, 40.32) |
| CIE-LCH | lch(50.11, 41.81, 105.34°) |
| OKLab | oklab(56.61% -0.0334 0.0925) |
| OKLCH | oklch(56.61% 0.098 109.9) |
| XYZ | xyz(15.6225, 18.5091, 5.4384) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.46
Drab
#828344
ΔE00 4.09
Olive (survey)
#6E750E
ΔE00 4.47
Murky Green
#6C7A0E
ΔE00 4.88
Poop Green
#6F7C00
ΔE00 5.23
Shit Green
#758000
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7B2F #302F7B
analogous
#7B562F #7A7B2F #547B2F
triadic
#7A7B2F #2F7A7B #7B2F7A
tetradic
#7A7B2F #2F7B56 #302F7B #7B2F54
square
#7A7B2F #2F7B56 #302F7B #7B2F54
split-complementary
#7A7B2F #2F547B #562F7B
monochromatic
#22220D #4E4F1E #7A7B2F #A6A740 #C2C362
Accessibility & contrast
On white
4.47
#7A7B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7A7B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7B2F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7B2F | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847626
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#82746B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a7b2f; /* rgb */ color: rgb(122, 123, 47); /* oklch */ color: oklch(56.6% 0.098 109.9);
Tailwind
colors: {
custom: {
50: '#a3a16b',
500: '#7a7b2f',
950: '#000000',
},
}SCSS
$custom: #7a7b2f; $custom-light: #a3a16b; $custom-dark: #000000;
JSON
{
"hex": "#7a7b2f",
"rgb": {
"r": 122,
"g": 123,
"b": 47
},
"hsl": {
"h": 60.789,
"s": 44.706,
"l": 33.333
},
"oklch": {
"l": 0.56608,
"c": 0.09835,
"h": 109.9
},
"luminance": 0.18509
}Semantic roles & 50–950 ramp
primary
#7A7B2F
secondary
#5D5CAA
accent
#53D455
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A