#7A781E#7A781E
#7A781E is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.108 H 108.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7A781E |
|---|---|
| RGB | rgb(122, 120, 30) |
| HSL | hsl(59, 61%, 30%) |
| HSV | hsv(59, 75%, 48%) |
| CMYK | cmyk(0%, 1.6%, 75.4%, 52.2%) |
| CIE-LAB | lab(49.09, -10.48, 46.58) |
| CIE-LCH | lch(49.09, 47.75, 102.68°) |
| OKLab | oklab(55.75% -0.0337 0.1028) |
| OKLCH | oklch(55.75% 0.108 108.2) |
| XYZ | xyz(14.9774, 17.6647, 3.8487) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.30
Olive
#808000
ΔE00 4.14
Ugly Brown
#7D7103
ΔE00 4.26
Brown Green
#706C11
ΔE00 4.52
Poop Green
#6F7C00
ΔE00 4.53
Murky Green
#6C7A0E
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A781E #1E207A
analogous
#7A4A1E #7A781E #4E7A1E
triadic
#7A781E #1E7A78 #781E7A
tetradic
#7A781E #1E7A4A #1E207A #7A1E4E
square
#7A781E #1E7A4A #1E207A #7A1E4E
split-complementary
#7A781E #1E4E7A #4A1E7A
monochromatic
#191806 #494812 #7A781E #ABA82A #D0CD42
Accessibility & contrast
On white
4.63
#7A781E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7A781E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A781E
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A781E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A781E | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#837067
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a781e; /* rgb */ color: rgb(122, 120, 30); /* oklch */ color: oklch(55.8% 0.108 108.2);
Tailwind
colors: {
custom: {
50: '#a39e61',
500: '#7a781e',
950: '#000000',
},
}SCSS
$custom: #7a781e; $custom-light: #a39e61; $custom-dark: #000000;
JSON
{
"hex": "#7a781e",
"rgb": {
"r": 122,
"g": 120,
"b": 30
},
"hsl": {
"h": 58.696,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.5575,
"c": 0.10816,
"h": 108.2
},
"luminance": 0.17664
}Semantic roles & 50–950 ramp
primary
#7A781E
secondary
#4648AE
accent
#48E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A