#7D791C#7D791C
#7D791C is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.110 H 106.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D791C |
|---|---|
| RGB | rgb(125, 121, 28) |
| HSL | hsl(58, 63%, 30%) |
| HSV | hsv(58, 78%, 49%) |
| CMYK | cmyk(0%, 3.2%, 77.6%, 51%) |
| CIE-LAB | lab(49.64, -9.73, 47.93) |
| CIE-LCH | lch(49.64, 48.91, 101.48°) |
| OKLab | oklab(56.25% -0.032 0.1051) |
| OKLCH | oklch(56.25% 0.11 106.9) |
| XYZ | xyz(15.5050, 18.1191, 3.7790) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.59
Ugly Brown
#7D7103
ΔE00 3.92
Olive (survey)
#6E750E
ΔE00 4.05
Shit Green
#758000
ΔE00 4.81
Poop Green
#6F7C00
ΔE00 4.94
Brown Green
#706C11
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D791C #1C207D
analogous
#7D491C #7D791C #507D1C
triadic
#7D791C #1C7D79 #791C7D
tetradic
#7D791C #1C7D49 #1C207D #7D1C50
square
#7D791C #1C7D49 #1C207D #7D1C50
split-complementary
#7D791C #1C507D #491C7D
monochromatic
#191806 #4B4911 #7D791C #AFA927 #D4CE3F
Accessibility & contrast
On white
4.54
#7D791C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7D791C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D791C
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D791C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D791C | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847407
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#877167
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d791c; /* rgb */ color: rgb(125, 121, 28); /* oklch */ color: oklch(56.3% 0.110 106.9);
Tailwind
colors: {
custom: {
50: '#a69f60',
500: '#7d791c',
950: '#000000',
},
}SCSS
$custom: #7d791c; $custom-light: #a69f60; $custom-dark: #000000;
JSON
{
"hex": "#7d791c",
"rgb": {
"r": 125,
"g": 121,
"b": 28
},
"hsl": {
"h": 57.526,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.56253,
"c": 0.1099,
"h": 106.9
},
"luminance": 0.18119
}Semantic roles & 50–950 ramp
primary
#7D791C
secondary
#4449B1
accent
#48E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79