#7D7F1A#7D7F1A
#7D7F1A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.117 H 110.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7F1A |
|---|---|
| RGB | rgb(125, 127, 26) |
| HSL | hsl(61, 66%, 30%) |
| HSV | hsv(61, 80%, 50%) |
| CMYK | cmyk(1.6%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(51.40, -13.09, 50.23) |
| CIE-LCH | lch(51.40, 51.91, 104.61°) |
| OKLab | oklab(57.65% -0.0415 0.1096) |
| OKLCH | oklch(57.65% 0.117 110.7) |
| XYZ | xyz(16.2339, 19.6138, 3.9078) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.12
Shit Green
#758000
ΔE00 2.72
Poop Green
#6F7C00
ΔE00 3.65
Swamp Green
#748500
ΔE00 4.21
Murky Green
#6C7A0E
ΔE00 4.35
Olive (survey)
#6E750E
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F1A #1C1A7F
analogous
#7F4E1A #7D7F1A #4B7F1A
triadic
#7D7F1A #1A7D7F #7F1A7D
tetradic
#7D7F1A #1A7F4E #1C1A7F #7F1A4B
square
#7D7F1A #1A7F4E #1C1A7F #7F1A4B
split-complementary
#7D7F1A #1A4B7F #4E1A7F
monochromatic
#191905 #4B4C10 #7D7F1A #AFB224 #D4D73C
Accessibility & contrast
On white
4.27
#7D7F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7D7F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F1A
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F1A | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#86776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7f1a; /* rgb */ color: rgb(125, 127, 26); /* oklch */ color: oklch(57.7% 0.117 110.7);
Tailwind
colors: {
custom: {
50: '#a6a360',
500: '#7d7f1a',
950: '#000000',
},
}SCSS
$custom: #7d7f1a; $custom-light: #a6a360; $custom-dark: #000000;
JSON
{
"hex": "#7d7f1a",
"rgb": {
"r": 125,
"g": 127,
"b": 26
},
"hsl": {
"h": 61.188,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.57653,
"c": 0.11723,
"h": 110.7
},
"luminance": 0.19613
}Semantic roles & 50–950 ramp
primary
#7D7F1A
secondary
#4442B3
accent
#3FE942
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79