#7D791B#7D791B
#7D791B is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.110 H 106.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D791B |
|---|---|
| RGB | rgb(125, 121, 27) |
| HSL | hsl(58, 64%, 30%) |
| HSV | hsv(58, 78%, 49%) |
| CMYK | cmyk(0%, 3.2%, 78.4%, 51%) |
| CIE-LAB | lab(49.63, -9.78, 48.28) |
| CIE-LCH | lch(49.63, 49.26, 101.45°) |
| OKLab | oklab(56.25% -0.0322 0.1057) |
| OKLCH | oklch(56.25% 0.11 106.9) |
| XYZ | xyz(15.4933, 18.1144, 3.7170) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.52
Ugly Brown
#7D7103
ΔE00 3.88
Olive (survey)
#6E750E
ΔE00 4.04
Shit Green
#758000
ΔE00 4.77
Poop Green
#6F7C00
ΔE00 4.91
Brown Green
#706C11
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D791B #1B1F7D
analogous
#7D481B #7D791B #507D1B
triadic
#7D791B #1B7D79 #791B7D
tetradic
#7D791B #1B7D48 #1B1F7D #7D1B50
square
#7D791B #1B7D48 #1B1F7D #7D1B50
split-complementary
#7D791B #1B507D #481B7D
monochromatic
#191805 #4B4810 #7D791B #AFAA26 #D5CF3D
Accessibility & contrast
On white
4.54
#7D791B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7D791B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D791B
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D791B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D791B | 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)
#847405
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d791b; /* rgb */ color: rgb(125, 121, 27); /* oklch */ color: oklch(56.2% 0.110 106.9);
Tailwind
colors: {
custom: {
50: '#a69f60',
500: '#7d791b',
950: '#000000',
},
}SCSS
$custom: #7d791b; $custom-light: #a69f60; $custom-dark: #000000;
JSON
{
"hex": "#7d791b",
"rgb": {
"r": 125,
"g": 121,
"b": 27
},
"hsl": {
"h": 57.551,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.56246,
"c": 0.11048,
"h": 106.9
},
"luminance": 0.18114
}Semantic roles & 50–950 ramp
primary
#7D791B
secondary
#4347B1
accent
#47E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79