#7A7B2B#7A7B2B
#7A7B2B is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.102 H 109.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7B2B |
|---|---|
| RGB | rgb(122, 123, 43) |
| HSL | hsl(61, 48%, 33%) |
| HSV | hsv(61, 65%, 48%) |
| CMYK | cmyk(0.8%, 0%, 65%, 51.8%) |
| CIE-LAB | lab(50.07, -11.35, 42.14) |
| CIE-LCH | lch(50.07, 43.64, 105.08°) |
| OKLab | oklab(56.57% -0.0347 0.0957) |
| OKLCH | oklch(56.57% 0.102 109.9) |
| XYZ | xyz(15.5455, 18.4783, 5.0328) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.05
Murky Green
#6C7A0E
ΔE00 4.50
Drab
#828344
ΔE00 4.53
Poop Green
#6F7C00
ΔE00 4.74
Shit Green
#758000
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7B2B #2C2B7B
analogous
#7B542B #7A7B2B #527B2B
triadic
#7A7B2B #2B7A7B #7B2B7A
tetradic
#7A7B2B #2B7B54 #2C2B7B #7B2B52
square
#7A7B2B #2B7B54 #2C2B7B #7B2B52
split-complementary
#7A7B2B #2B527B #542B7B
monochromatic
#20200B #4D4E1B #7A7B2B #A7A83B #C4C65B
Accessibility & contrast
On white
4.47
#7A7B2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7A7B2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7B2B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7B2B | 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)
#857621
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#82736A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a7b2b; /* rgb */ color: rgb(122, 123, 43); /* oklch */ color: oklch(56.6% 0.102 109.9);
Tailwind
colors: {
custom: {
50: '#a3a169',
500: '#7a7b2b',
950: '#000000',
},
}SCSS
$custom: #7a7b2b; $custom-light: #a3a169; $custom-dark: #000000;
JSON
{
"hex": "#7a7b2b",
"rgb": {
"r": 122,
"g": 123,
"b": 43
},
"hsl": {
"h": 60.75,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.56566,
"c": 0.10184,
"h": 109.9
},
"luminance": 0.18478
}Semantic roles & 50–950 ramp
primary
#7A7B2B
secondary
#5756AB
accent
#50D852
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A