#7D7B1F#7D7B1F
#7D7B1F is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.110 H 108.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7B1F |
|---|---|
| RGB | rgb(125, 123, 31) |
| HSL | hsl(59, 60%, 31%) |
| HSV | hsv(59, 75%, 49%) |
| CMYK | cmyk(0%, 1.6%, 75.2%, 51%) |
| CIE-LAB | lab(50.25, -10.69, 47.40) |
| CIE-LCH | lch(50.25, 48.59, 102.71°) |
| OKLab | oklab(56.74% -0.0344 0.1046) |
| OKLCH | oklch(56.74% 0.11 108.2) |
| XYZ | xyz(15.7883, 18.6253, 4.0594) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.24
Olive (survey)
#6E750E
ΔE00 4.04
Shit Green
#758000
ΔE00 4.20
Poop Green
#6F7C00
ΔE00 4.48
Murky Green
#6C7A0E
ΔE00 4.79
Ugly Brown
#7D7103
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7B1F #1F217D
analogous
#7D4C1F #7D7B1F #507D1F
triadic
#7D7B1F #1F7D7B #7B1F7D
tetradic
#7D7B1F #1F7D4C #1F217D #7D1F50
square
#7D7B1F #1F7D4C #1F217D #7D1F50
split-complementary
#7D7B1F #1F507D #4C1F7D
monochromatic
#1B1A07 #4C4B13 #7D7B1F #AEAB2B #D1CE45
Accessibility & contrast
On white
4.44
#7D7B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7D7B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7B1F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7B1F | 1.00 | 4.44 | 4.72 | 4.72 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d7b1f; /* rgb */ color: rgb(125, 123, 31); /* oklch */ color: oklch(56.7% 0.110 108.2);
Tailwind
colors: {
custom: {
50: '#a6a062',
500: '#7d7b1f',
950: '#000000',
},
}SCSS
$custom: #7d7b1f; $custom-light: #a6a062; $custom-dark: #000000;
JSON
{
"hex": "#7d7b1f",
"rgb": {
"r": 125,
"g": 123,
"b": 31
},
"hsl": {
"h": 58.723,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.56742,
"c": 0.1101,
"h": 108.2
},
"luminance": 0.18625
}Semantic roles & 50–950 ramp
primary
#7D7B1F
secondary
#484AB0
accent
#48E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A