#7D7F14#7D7F14
#7D7F14 is a mid, vivid 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 | #7D7F14 |
|---|---|
| RGB | rgb(125, 127, 20) |
| HSL | hsl(61, 73%, 29%) |
| HSV | hsv(61, 84%, 50%) |
| CMYK | cmyk(1.6%, 0%, 84.3%, 50.2%) |
| CIE-LAB | lab(51.37, -13.32, 52.02) |
| CIE-LCH | lch(51.37, 53.70, 104.36°) |
| OKLab | oklab(57.62% -0.0426 0.1123) |
| OKLCH | oklch(57.62% 0.12 110.8) |
| XYZ | xyz(16.1737, 19.5897, 3.5909) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.62
Shit Green
#758000
ΔE00 2.52
Poop Green
#6F7C00
ΔE00 3.57
Swamp Green
#748500
ΔE00 4.10
Murky Green
#6C7A0E
ΔE00 4.43
Olive (survey)
#6E750E
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F14 #16147F
analogous
#7F4C14 #7D7F14 #487F14
triadic
#7D7F14 #147D7F #7F147D
tetradic
#7D7F14 #147F4C #16147F #7F1448
square
#7D7F14 #147F4C #16147F #7F1448
split-complementary
#7D7F14 #14487F #4C147F
monochromatic
#1A1A04 #494A0C #7D7F14 #B1B41C #DBDE2F
Accessibility & contrast
On white
4.27
#7D7F14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7D7F14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F14
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F14 | 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: #7d7f14; /* rgb */ color: rgb(125, 127, 20); /* oklch */ color: oklch(57.6% 0.120 110.8);
Tailwind
colors: {
custom: {
50: '#a6a35e',
500: '#7d7f14',
950: '#000000',
},
}SCSS
$custom: #7d7f14; $custom-light: #a6a35e; $custom-dark: #000000;
JSON
{
"hex": "#7d7f14",
"rgb": {
"r": 125,
"g": 127,
"b": 20
},
"hsl": {
"h": 61.121,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.57622,
"c": 0.12013,
"h": 110.8
},
"luminance": 0.19589
}Semantic roles & 50–950 ramp
primary
#7D7F14
secondary
#3D3BB4
accent
#38EF3C
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79