#787F25#787F25
#787F25 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.112 H 113.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #787F25 |
|---|---|
| RGB | rgb(120, 127, 37) |
| HSL | hsl(65, 55%, 32%) |
| HSV | hsv(65, 71%, 50%) |
| CMYK | cmyk(5.5%, 0%, 70.9%, 50.2%) |
| CIE-LAB | lab(51.04, -14.82, 45.68) |
| CIE-LCH | lch(51.04, 48.02, 107.97°) |
| OKLab | oklab(57.29% -0.045 0.1022) |
| OKLCH | oklch(57.29% 0.112 113.7) |
| XYZ | xyz(15.6695, 19.3057, 4.6508) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.07
Poop Green
#6F7C00
ΔE00 3.32
Murky Green
#6C7A0E
ΔE00 3.38
Swamp Green
#748500
ΔE00 4.07
Olive (survey)
#6E750E
ΔE00 4.16
Olive
#808000
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F25 #2C257F
analogous
#7F5925 #787F25 #4B7F25
triadic
#787F25 #25787F #7F2578
tetradic
#787F25 #257F59 #2C257F #7F254B
square
#787F25 #257F59 #2C257F #7F254B
split-complementary
#787F25 #254B7F #59257F
monochromatic
#1E2009 #4B5017 #787F25 #A5AE33 #C3CD52
Accessibility & contrast
On white
4.32
#787F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#787F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F25
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F25 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897917
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#80776D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787f25; /* rgb */ color: rgb(120, 127, 37); /* oklch */ color: oklch(57.3% 0.112 113.7);
Tailwind
colors: {
custom: {
50: '#a2a466',
500: '#787f25',
950: '#000000',
},
}SCSS
$custom: #787f25; $custom-light: #a2a466; $custom-dark: #000000;
JSON
{
"hex": "#787f25",
"rgb": {
"r": 120,
"g": 127,
"b": 37
},
"hsl": {
"h": 64.667,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.57286,
"c": 0.1117,
"h": 113.7
},
"luminance": 0.19305
}Semantic roles & 50–950 ramp
primary
#787F25
secondary
#574FB1
accent
#4ADE55
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A