#7D7E1A#7D7E1A
#7D7E1A is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.116 H 110.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7E1A |
|---|---|
| RGB | rgb(125, 126, 26) |
| HSL | hsl(61, 66%, 30%) |
| HSV | hsv(61, 79%, 49%) |
| CMYK | cmyk(0.8%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(51.10, -12.55, 49.96) |
| CIE-LCH | lch(51.10, 51.52, 104.10°) |
| OKLab | oklab(57.42% -0.04 0.1091) |
| OKLCH | oklch(57.42% 0.116 110.2) |
| XYZ | xyz(16.1053, 19.3567, 3.8649) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.18
Shit Green
#758000
ΔE00 2.98
Poop Green
#6F7C00
ΔE00 3.75
Olive (survey)
#6E750E
ΔE00 4.33
Murky Green
#6C7A0E
ΔE00 4.39
Swamp Green
#748500
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7E1A #1B1A7E
analogous
#7E4D1A #7D7E1A #4B7E1A
triadic
#7D7E1A #1A7D7E #7E1A7D
tetradic
#7D7E1A #1A7E4D #1B1A7E #7E1A4B
square
#7D7E1A #1A7E4D #1B1A7E #7E1A4B
split-complementary
#7D7E1A #1A4B7E #4D1A7E
monochromatic
#191905 #4B4B10 #7D7E1A #AFB124 #D5D73C
Accessibility & contrast
On white
4.31
#7D7E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7D7E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7E1A
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7E1A | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#86766B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7e1a; /* rgb */ color: rgb(125, 126, 26); /* oklch */ color: oklch(57.4% 0.116 110.2);
Tailwind
colors: {
custom: {
50: '#a6a360',
500: '#7d7e1a',
950: '#000000',
},
}SCSS
$custom: #7d7e1a; $custom-light: #a6a360; $custom-dark: #000000;
JSON
{
"hex": "#7d7e1a",
"rgb": {
"r": 125,
"g": 126,
"b": 26
},
"hsl": {
"h": 60.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.57416,
"c": 0.11617,
"h": 110.2
},
"luminance": 0.19356
}Semantic roles & 50–950 ramp
primary
#7D7E1A
secondary
#4342B2
accent
#3FE941
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79