#7B781E#7B781E
#7B781E is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.108 H 107.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B781E |
|---|---|
| RGB | rgb(123, 120, 30) |
| HSL | hsl(58, 61%, 30%) |
| HSV | hsv(58, 76%, 48%) |
| CMYK | cmyk(0%, 2.4%, 75.6%, 51.8%) |
| CIE-LAB | lab(49.18, -10.02, 46.70) |
| CIE-LCH | lch(49.18, 47.76, 102.11°) |
| OKLab | oklab(55.84% -0.0325 0.103) |
| OKLCH | oklch(55.84% 0.108 107.5) |
| XYZ | xyz(15.1198, 17.7381, 3.8554) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.59
Ugly Brown
#7D7103
ΔE00 4.04
Olive
#808000
ΔE00 4.10
Brown Green
#706C11
ΔE00 4.56
Browny Green
#6F6C0A
ΔE00 4.67
Poop Green
#6F7C00
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B781E #1E217B
analogous
#7B4A1E #7B781E #4F7B1E
triadic
#7B781E #1E7B78 #781E7B
tetradic
#7B781E #1E7B4A #1E217B #7B1E4F
square
#7B781E #1E7B4A #1E217B #7B1E4F
split-complementary
#7B781E #1E4F7B #4A1E7B
monochromatic
#191806 #4A4812 #7B781E #ACA82A #D1CC42
Accessibility & contrast
On white
4.62
#7B781E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7B781E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B781E
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B781E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B781E | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#847067
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b781e; /* rgb */ color: rgb(123, 120, 30); /* oklch */ color: oklch(55.8% 0.108 107.5);
Tailwind
colors: {
custom: {
50: '#a49e61',
500: '#7b781e',
950: '#000000',
},
}SCSS
$custom: #7b781e; $custom-light: #a49e61; $custom-dark: #000000;
JSON
{
"hex": "#7b781e",
"rgb": {
"r": 123,
"g": 120,
"b": 30
},
"hsl": {
"h": 58.065,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.55843,
"c": 0.10798,
"h": 107.5
},
"luminance": 0.17738
}Semantic roles & 50–950 ramp
primary
#7B781E
secondary
#464AAE
accent
#49E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A