#7D7D1B#7D7D1B
#7D7D1B is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.115 H 109.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7D1B |
|---|---|
| RGB | rgb(125, 125, 27) |
| HSL | hsl(60, 64%, 30%) |
| HSV | hsv(60, 78%, 49%) |
| CMYK | cmyk(0%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(50.81, -11.97, 49.37) |
| CIE-LCH | lch(50.81, 50.79, 103.63°) |
| OKLab | oklab(57.19% -0.0383 0.108) |
| OKLCH | oklch(57.19% 0.115 109.5) |
| XYZ | xyz(15.9895, 19.1068, 3.8824) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.41
Shit Green
#758000
ΔE00 3.32
Poop Green
#6F7C00
ΔE00 3.92
Olive (survey)
#6E750E
ΔE00 4.17
Murky Green
#6C7A0E
ΔE00 4.47
Swamp Green
#748500
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7D1B #1B1B7D
analogous
#7D4C1B #7D7D1B #4C7D1B
triadic
#7D7D1B #1B7D7D #7D1B7D
tetradic
#7D7D1B #1B7D4C #1B1B7D #7D1B4C
square
#7D7D1B #1B7D4C #1B1B7D #7D1B4C
split-complementary
#7D7D1B #1B4C7D #4C1B7D
monochromatic
#191905 #4B4B10 #7D7D1B #AFAF26 #D5D53D
Accessibility & contrast
On white
4.36
#7D7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7D7D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7D1B
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7D1B | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d7d1b; /* rgb */ color: rgb(125, 125, 27); /* oklch */ color: oklch(57.2% 0.115 109.5);
Tailwind
colors: {
custom: {
50: '#a6a260',
500: '#7d7d1b',
950: '#000000',
},
}SCSS
$custom: #7d7d1b; $custom-light: #a6a260; $custom-dark: #000000;
JSON
{
"hex": "#7d7d1b",
"rgb": {
"r": 125,
"g": 125,
"b": 27
},
"hsl": {
"h": 60,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.57186,
"c": 0.11457,
"h": 109.5
},
"luminance": 0.19106
}Semantic roles & 50–950 ramp
primary
#7D7D1B
secondary
#4343B1
accent
#40E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79