#788326#788326
#788326 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.116 H 115.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #788326 |
|---|---|
| RGB | rgb(120, 131, 38) |
| HSL | hsl(67, 55%, 33%) |
| HSV | hsv(67, 71%, 51%) |
| CMYK | cmyk(8.4%, 0%, 71%, 48.6%) |
| CIE-LAB | lab(52.25, -16.88, 46.48) |
| CIE-LCH | lch(52.25, 49.45, 109.96°) |
| OKLab | oklab(58.26% -0.0506 0.1041) |
| OKLCH | oklch(58.26% 0.116 115.9) |
| XYZ | xyz(16.2123, 20.3658, 4.9103) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.12
Swamp Green
#748500
ΔE00 3.17
Poop Green
#6F7C00
ΔE00 3.80
Murky Green
#6C7A0E
ΔE00 4.04
Khaki Green
#728639
ΔE00 4.04
Olive
#808000
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788326 #312683
analogous
#835F26 #788326 #498326
triadic
#788326 #267883 #832678
tetradic
#788326 #26835F #312683 #832649
square
#788326 #26835F #312683 #832649
split-complementary
#788326 #264983 #5F2683
monochromatic
#21240A #4D5418 #788326 #A3B234 #C0CE56
Accessibility & contrast
On white
4.14
#788326 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#788326 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788326
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788326 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C17
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#807B71
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #788326; /* rgb */ color: rgb(120, 131, 38); /* oklch */ color: oklch(58.3% 0.116 115.9);
Tailwind
colors: {
custom: {
50: '#a2a767',
500: '#788326',
950: '#000000',
},
}SCSS
$custom: #788326; $custom-light: #a2a767; $custom-dark: #000000;
JSON
{
"hex": "#788326",
"rgb": {
"r": 120,
"g": 131,
"b": 38
},
"hsl": {
"h": 67.097,
"s": 55.03,
"l": 33.137
},
"oklch": {
"l": 0.58255,
"c": 0.11576,
"h": 115.9
},
"luminance": 0.20366
}Semantic roles & 50–950 ramp
primary
#788326
secondary
#5E52B2
accent
#49DE5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A