#7C791F#7C791F
#7C791F is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.108 H 107.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C791F |
|---|---|
| RGB | rgb(124, 121, 31) |
| HSL | hsl(58, 60%, 30%) |
| HSV | hsv(58, 75%, 49%) |
| CMYK | cmyk(0%, 2.4%, 75%, 51.4%) |
| CIE-LAB | lab(49.57, -10.05, 46.72) |
| CIE-LCH | lch(49.57, 47.79, 102.14°) |
| OKLab | oklab(56.18% -0.0325 0.1032) |
| OKLCH | oklch(56.18% 0.108 107.5) |
| XYZ | xyz(15.3975, 18.0593, 3.9708) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.81
Olive
#808000
ΔE00 3.84
Ugly Brown
#7D7103
ΔE00 4.26
Shit Green
#758000
ΔE00 4.74
Poop Green
#6F7C00
ΔE00 4.78
Murky Green
#6C7A0E
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C791F #1F227C
analogous
#7C4B1F #7C791F #507C1F
triadic
#7C791F #1F7C79 #791F7C
tetradic
#7C791F #1F7C4B #1F227C #7C1F50
square
#7C791F #1F7C4B #1F227C #7C1F50
split-complementary
#7C791F #1F507C #4B1F7C
monochromatic
#1A1907 #4B4913 #7C791F #ADA92B #D0CC45
Accessibility & contrast
On white
4.55
#7C791F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7C791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C791F
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C791F | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740E
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#857168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c791f; /* rgb */ color: rgb(124, 121, 31); /* oklch */ color: oklch(56.2% 0.108 107.5);
Tailwind
colors: {
custom: {
50: '#a59f62',
500: '#7c791f',
950: '#000000',
},
}SCSS
$custom: #7c791f; $custom-light: #a59f62; $custom-dark: #000000;
JSON
{
"hex": "#7c791f",
"rgb": {
"r": 124,
"g": 121,
"b": 31
},
"hsl": {
"h": 58.065,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.56179,
"c": 0.1082,
"h": 107.5
},
"luminance": 0.18059
}Semantic roles & 50–950 ramp
primary
#7C791F
secondary
#484BAF
accent
#4AE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A