#7A781C#7A781C
#7A781C is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.7% C 0.109 H 108.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7A781C |
|---|---|
| RGB | rgb(122, 120, 28) |
| HSL | hsl(59, 63%, 29%) |
| HSV | hsv(59, 77%, 48%) |
| CMYK | cmyk(0%, 1.6%, 77%, 52.2%) |
| CIE-LAB | lab(49.07, -10.58, 47.31) |
| CIE-LCH | lch(49.07, 48.48, 102.60°) |
| OKLab | oklab(55.74% -0.0342 0.1039) |
| OKLCH | oklch(55.74% 0.109 108.2) |
| XYZ | xyz(14.9527, 17.6548, 3.7185) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.26
Olive
#808000
ΔE00 3.99
Ugly Brown
#7D7103
ΔE00 4.16
Poop Green
#6F7C00
ΔE00 4.44
Brown Green
#706C11
ΔE00 4.51
Murky Green
#6C7A0E
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A781C #1C1E7A
analogous
#7A491C #7A781C #4D7A1C
triadic
#7A781C #1C7A78 #781C7A
tetradic
#7A781C #1C7A49 #1C1E7A #7A1C4D
square
#7A781C #1C7A49 #1C1E7A #7A1C4D
split-complementary
#7A781C #1C4D7A #491C7A
monochromatic
#191806 #484711 #7A781C #ACA927 #D3CF3E
Accessibility & contrast
On white
4.63
#7A781C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7A781C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A781C
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A781C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A781C | 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)
#827308
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#837067
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a781c; /* rgb */ color: rgb(122, 120, 28); /* oklch */ color: oklch(55.7% 0.109 108.2);
Tailwind
colors: {
custom: {
50: '#a49e60',
500: '#7a781c',
950: '#000000',
},
}SCSS
$custom: #7a781c; $custom-light: #a49e60; $custom-dark: #000000;
JSON
{
"hex": "#7a781c",
"rgb": {
"r": 122,
"g": 120,
"b": 28
},
"hsl": {
"h": 58.723,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.55736,
"c": 0.1094,
"h": 108.2
},
"luminance": 0.17654
}Semantic roles & 50–950 ramp
primary
#7A781C
secondary
#4446AE
accent
#46E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79