#7D7F18#7D7F18
#7D7F18 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.118 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7F18 |
|---|---|
| RGB | rgb(125, 127, 24) |
| HSL | hsl(61, 68%, 30%) |
| HSV | hsv(61, 81%, 50%) |
| CMYK | cmyk(1.6%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(51.39, -13.17, 50.86) |
| CIE-LCH | lch(51.39, 52.54, 104.52°) |
| OKLab | oklab(57.64% -0.0419 0.1106) |
| OKLCH | oklch(57.64% 0.118 110.8) |
| XYZ | xyz(16.2123, 19.6051, 3.7941) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.94
Shit Green
#758000
ΔE00 2.64
Poop Green
#6F7C00
ΔE00 3.61
Swamp Green
#748500
ΔE00 4.16
Murky Green
#6C7A0E
ΔE00 4.37
Olive (survey)
#6E750E
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F18 #1A187F
analogous
#7F4E18 #7D7F18 #4A7F18
triadic
#7D7F18 #187D7F #7F187D
tetradic
#7D7F18 #187F4E #1A187F #7F184A
square
#7D7F18 #187F4E #1A187F #7F184A
split-complementary
#7D7F18 #184A7F #4E187F
monochromatic
#191A05 #4A4C0E #7D7F18 #B0B222 #D6D938
Accessibility & contrast
On white
4.27
#7D7F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7D7F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F18
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F18 | 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)
#8A7C21
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7f18; /* rgb */ color: rgb(125, 127, 24); /* oklch */ color: oklch(57.6% 0.118 110.8);
Tailwind
colors: {
custom: {
50: '#a6a35f',
500: '#7d7f18',
950: '#000000',
},
}SCSS
$custom: #7d7f18; $custom-light: #a6a35f; $custom-dark: #000000;
JSON
{
"hex": "#7d7f18",
"rgb": {
"r": 125,
"g": 127,
"b": 24
},
"hsl": {
"h": 61.165,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.57642,
"c": 0.11827,
"h": 110.8
},
"luminance": 0.19605
}Semantic roles & 50–950 ramp
primary
#7D7F18
secondary
#423FB3
accent
#3DEB40
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79