#7D7C1C#7D7C1C
#7D7C1C is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.113 H 108.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7C1C |
|---|---|
| RGB | rgb(125, 124, 28) |
| HSL | hsl(59, 63%, 30%) |
| HSV | hsv(59, 78%, 49%) |
| CMYK | cmyk(0%, 0.8%, 77.6%, 51%) |
| CIE-LAB | lab(50.52, -11.38, 48.75) |
| CIE-LCH | lch(50.52, 50.06, 103.14°) |
| OKLab | oklab(56.96% -0.0366 0.1069) |
| OKLCH | oklch(56.96% 0.113 108.9) |
| XYZ | xyz(15.8753, 18.8596, 3.9024) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.71
Shit Green
#758000
ΔE00 3.70
Olive (survey)
#6E750E
ΔE00 4.07
Poop Green
#6F7C00
ΔE00 4.14
Murky Green
#6C7A0E
ΔE00 4.59
Ugly Brown
#7D7103
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7C1C #1C1D7D
analogous
#7D4B1C #7D7C1C #4E7D1C
triadic
#7D7C1C #1C7D7C #7C1C7D
tetradic
#7D7C1C #1C7D4B #1C1D7D #7D1C4E
square
#7D7C1C #1C7D4B #1C1D7D #7D1C4E
split-complementary
#7D7C1C #1C4E7D #4B1C7D
monochromatic
#191906 #4B4A11 #7D7C1C #AFAE27 #D4D33F
Accessibility & contrast
On white
4.40
#7D7C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7D7C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7C1C
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7C1C | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d7c1c; /* rgb */ color: rgb(125, 124, 28); /* oklch */ color: oklch(57.0% 0.113 108.9);
Tailwind
colors: {
custom: {
50: '#a6a161',
500: '#7d7c1c',
950: '#000000',
},
}SCSS
$custom: #7d7c1c; $custom-light: #a6a161; $custom-dark: #000000;
JSON
{
"hex": "#7d7c1c",
"rgb": {
"r": 125,
"g": 124,
"b": 28
},
"hsl": {
"h": 59.381,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.56957,
"c": 0.11297,
"h": 108.9
},
"luminance": 0.18859
}Semantic roles & 50–950 ramp
primary
#7D7C1C
secondary
#4445B1
accent
#43E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79