#7D7E2A#7D7E2A
#7D7E2A is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.105 H 110.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7E2A |
|---|---|
| RGB | rgb(125, 126, 42) |
| HSL | hsl(61, 50%, 33%) |
| HSV | hsv(61, 67%, 49%) |
| CMYK | cmyk(0.8%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(51.21, -11.69, 43.86) |
| CIE-LCH | lch(51.21, 45.39, 104.93°) |
| OKLab | oklab(57.54% -0.036 0.0991) |
| OKLCH | oklch(57.54% 0.105 110) |
| XYZ | xyz(16.3367, 19.4493, 5.0836) |
| Luminance | 0.1945 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.05
Shit Green
#758000
ΔE00 4.26
Drab
#828344
ΔE00 4.28
Poop Green
#6F7C00
ΔE00 4.65
Olive (survey)
#6E750E
ΔE00 4.71
Murky Green
#6C7A0E
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7E2A #2B2A7E
analogous
#7E552A #7D7E2A #537E2A
triadic
#7D7E2A #2A7D7E #7E2A7D
tetradic
#7D7E2A #2A7E55 #2B2A7E #7E2A53
square
#7D7E2A #2A7E55 #2B2A7E #7E2A53
split-complementary
#7D7E2A #2A537E #552A7E
monochromatic
#22220B #4F501B #7D7E2A #ABAC39 #C7C85A
Accessibility & contrast
On white
4.29
#7D7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7D7E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7E2A
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7E2A | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#86766D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7e2a; /* rgb */ color: rgb(125, 126, 42); /* oklch */ color: oklch(57.5% 0.105 110.0);
Tailwind
colors: {
custom: {
50: '#a5a368',
500: '#7d7e2a',
950: '#000000',
},
}SCSS
$custom: #7d7e2a; $custom-light: #a5a368; $custom-dark: #000000;
JSON
{
"hex": "#7d7e2a",
"rgb": {
"r": 125,
"g": 126,
"b": 42
},
"hsl": {
"h": 60.714,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.57536,
"c": 0.10545,
"h": 110
},
"luminance": 0.19449
}Semantic roles & 50–950 ramp
primary
#7D7E2A
secondary
#5756AE
accent
#4EDA50
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A