#7D7F1B#7D7F1B
#7D7F1B 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 | #7D7F1B |
|---|---|
| RGB | rgb(125, 127, 27) |
| HSL | hsl(61, 65%, 30%) |
| HSV | hsv(61, 79%, 50%) |
| CMYK | cmyk(1.6%, 0%, 78.7%, 50.2%) |
| CIE-LAB | lab(51.40, -13.05, 49.91) |
| CIE-LCH | lch(51.40, 51.58, 104.65°) |
| OKLab | oklab(57.66% -0.0413 0.1091) |
| OKLCH | oklch(57.66% 0.117 110.7) |
| XYZ | xyz(16.2452, 19.6183, 3.9677) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.21
Shit Green
#758000
ΔE00 2.77
Poop Green
#6F7C00
ΔE00 3.67
Swamp Green
#748500
ΔE00 4.24
Murky Green
#6C7A0E
ΔE00 4.35
Olive (survey)
#6E750E
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F1B #1D1B7F
analogous
#7F4F1B #7D7F1B #4B7F1B
triadic
#7D7F1B #1B7D7F #7F1B7D
tetradic
#7D7F1B #1B7F4F #1D1B7F #7F1B4B
square
#7D7F1B #1B7F4F #1D1B7F #7F1B4B
split-complementary
#7D7F1B #1B4B7F #4F1B7F
monochromatic
#1A1A06 #4B4D10 #7D7F1B #AFB126 #D3D63E
Accessibility & contrast
On white
4.27
#7D7F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7D7F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F1B
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F1B | 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)
#8A7902
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#86776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7f1b; /* rgb */ color: rgb(125, 127, 27); /* oklch */ color: oklch(57.7% 0.117 110.7);
Tailwind
colors: {
custom: {
50: '#a6a361',
500: '#7d7f1b',
950: '#000000',
},
}SCSS
$custom: #7d7f1b; $custom-light: #a6a361; $custom-dark: #000000;
JSON
{
"hex": "#7d7f1b",
"rgb": {
"r": 125,
"g": 127,
"b": 27
},
"hsl": {
"h": 61.2,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.57659,
"c": 0.11669,
"h": 110.7
},
"luminance": 0.19618
}Semantic roles & 50–950 ramp
primary
#7D7F1B
secondary
#4543B3
accent
#40E843
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A