#788112#788112
#788112 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.125 H 114.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #788112 |
|---|---|
| RGB | rgb(120, 129, 18) |
| HSL | hsl(65, 76%, 29%) |
| HSV | hsv(65, 86%, 51%) |
| CMYK | cmyk(7%, 0%, 86%, 49.4%) |
| CIE-LAB | lab(51.54, -16.74, 52.53) |
| CIE-LCH | lch(51.54, 55.13, 107.68°) |
| OKLab | oklab(57.65% -0.052 0.1133) |
| OKLCH | oklch(57.65% 0.125 114.6) |
| XYZ | xyz(15.7057, 19.7376, 3.5545) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.11
Swamp Green
#748500
ΔE00 2.30
Poop Green
#6F7C00
ΔE00 2.49
Olive
#808000
ΔE00 2.98
Murky Green
#6C7A0E
ΔE00 3.44
Olive Green
#677A04
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788112 #1B1281
analogous
#815312 #788112 #418112
triadic
#788112 #127881 #811278
tetradic
#788112 #128153 #1B1281 #811241
square
#788112 #128153 #1B1281 #811241
split-complementary
#788112 #124181 #531281
monochromatic
#191B04 #464B0B #788112 #AAB719 #D3E22C
Accessibility & contrast
On white
4.24
#788112 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#788112 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788112
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788112 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788112 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #788112; /* rgb */ color: rgb(120, 129, 18); /* oklch */ color: oklch(57.7% 0.125 114.6);
Tailwind
colors: {
custom: {
50: '#a2a55d',
500: '#788112',
950: '#000000',
},
}SCSS
$custom: #788112; $custom-light: #a2a55d; $custom-dark: #000000;
JSON
{
"hex": "#788112",
"rgb": {
"r": 120,
"g": 129,
"b": 18
},
"hsl": {
"h": 64.865,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.57652,
"c": 0.12464,
"h": 114.6
},
"luminance": 0.19737
}Semantic roles & 50–950 ramp
primary
#788112
secondary
#4338B7
accent
#36F245
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79