#7D7F15#7D7F15
#7D7F15 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.120 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7F15 |
|---|---|
| RGB | rgb(125, 127, 21) |
| HSL | hsl(61, 72%, 29%) |
| HSV | hsv(61, 83%, 50%) |
| CMYK | cmyk(1.6%, 0%, 83.5%, 50.2%) |
| CIE-LAB | lab(51.37, -13.28, 51.74) |
| CIE-LCH | lch(51.37, 53.42, 104.40°) |
| OKLab | oklab(57.63% -0.0425 0.1119) |
| OKLCH | oklch(57.63% 0.12 110.8) |
| XYZ | xyz(16.1828, 19.5933, 3.6388) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.70
Shit Green
#758000
ΔE00 2.54
Poop Green
#6F7C00
ΔE00 3.58
Swamp Green
#748500
ΔE00 4.11
Murky Green
#6C7A0E
ΔE00 4.41
Olive (survey)
#6E750E
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F15 #17157F
analogous
#7F4C15 #7D7F15 #487F15
triadic
#7D7F15 #157D7F #7F157D
tetradic
#7D7F15 #157F4C #17157F #7F1548
square
#7D7F15 #157F4C #17157F #7F1548
split-complementary
#7D7F15 #15487F #4C157F
monochromatic
#1A1A04 #494A0C #7D7F15 #B1B41E #DADD31
Accessibility & contrast
On white
4.27
#7D7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7D7F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F15
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F15 | 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)
#8B7C1F
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7f15; /* rgb */ color: rgb(125, 127, 21); /* oklch */ color: oklch(57.6% 0.120 110.8);
Tailwind
colors: {
custom: {
50: '#a6a35e',
500: '#7d7f15',
950: '#000000',
},
}SCSS
$custom: #7d7f15; $custom-light: #a6a35e; $custom-dark: #000000;
JSON
{
"hex": "#7d7f15",
"rgb": {
"r": 125,
"g": 127,
"b": 21
},
"hsl": {
"h": 61.132,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.57627,
"c": 0.11969,
"h": 110.8
},
"luminance": 0.19593
}Semantic roles & 50–950 ramp
primary
#7D7F15
secondary
#3E3CB4
accent
#39EE3D
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79