#787E37#787E37
#787E37 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.095 H 113.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #787E37 |
|---|---|
| RGB | rgb(120, 126, 55) |
| HSL | hsl(65, 39%, 35%) |
| HSV | hsv(65, 56%, 49%) |
| CMYK | cmyk(4.8%, 0%, 56.3%, 50.6%) |
| CIE-LAB | lab(50.91, -12.92, 37.27) |
| CIE-LCH | lch(50.91, 39.45, 109.12°) |
| OKLab | oklab(57.23% -0.0377 0.0871) |
| OKLCH | oklch(57.23% 0.095 113.4) |
| XYZ | xyz(15.8965, 19.1909, 6.4805) |
| Luminance | 0.1919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.14
Olive Drab
#6F7632
ΔE00 3.25
Khaki Green
#728639
ΔE00 4.29
Dirty Green
#667E2C
ΔE00 4.99
Murky Green
#6C7A0E
ΔE00 5.29
Swamp
#698339
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E37 #3D377E
analogous
#7E6037 #787E37 #547E37
triadic
#787E37 #37787E #7E3778
tetradic
#787E37 #377E60 #3D377E #7E3754
square
#787E37 #377E60 #3D377E #7E3754
split-complementary
#787E37 #37547E #60377E
monochromatic
#272912 #4F5324 #787E37 #A1A94A #B9C06F
Accessibility & contrast
On white
4.34
#787E37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#787E37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E37
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E37 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877830
Deuteranopia (green-blind)
#867A3B
Tritanopia (blue-blind)
#7F776E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787e37; /* rgb */ color: rgb(120, 126, 55); /* oklch */ color: oklch(57.2% 0.095 113.4);
Tailwind
colors: {
custom: {
50: '#a1a370',
500: '#787e37',
950: '#000000',
},
}SCSS
$custom: #787e37; $custom-light: #a1a370; $custom-dark: #000000;
JSON
{
"hex": "#787e37",
"rgb": {
"r": 120,
"g": 126,
"b": 55
},
"hsl": {
"h": 65.07,
"s": 39.227,
"l": 35.49
},
"oklch": {
"l": 0.57233,
"c": 0.09485,
"h": 113.4
},
"luminance": 0.19191
}Semantic roles & 50–950 ramp
primary
#787E37
secondary
#6D68A9
accent
#59CF63
background
#FAFAF6
surface
#F3F3EC
border
#CDCDC7
text
#0F0F08
muted
#7F7F7B