#787F2D#787F2D
#787F2D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.105 H 113.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #787F2D |
|---|---|
| RGB | rgb(120, 127, 45) |
| HSL | hsl(65, 48%, 34%) |
| HSV | hsv(65, 65%, 50%) |
| CMYK | cmyk(5.5%, 0%, 64.6%, 50.2%) |
| CIE-LAB | lab(51.11, -14.28, 42.28) |
| CIE-LCH | lch(51.11, 44.63, 108.66°) |
| OKLab | oklab(57.36% -0.0426 0.0964) |
| OKLCH | oklch(57.36% 0.105 113.9) |
| XYZ | xyz(15.8091, 19.3616, 5.3865) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 4.01
Olive Drab
#6F7632
ΔE00 4.11
Shit Green
#758000
ΔE00 4.18
Drab
#828344
ΔE00 4.19
Poop Green
#6F7C00
ΔE00 4.26
Khaki Green
#728639
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F2D #342D7F
analogous
#7F5D2D #787F2D #4F7F2D
triadic
#787F2D #2D787F #7F2D78
tetradic
#787F2D #2D7F5D #342D7F #7F2D4F
square
#787F2D #2D7F5D #342D7F #7F2D4F
split-complementary
#787F2D #2D4F7F #5D2D7F
monochromatic
#23250D #4D521D #787F2D #A3AC3D #BEC760
Accessibility & contrast
On white
4.31
#787F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#787F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F2D
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F2D | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887923
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#80786E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787f2d; /* rgb */ color: rgb(120, 127, 45); /* oklch */ color: oklch(57.4% 0.105 113.9);
Tailwind
colors: {
custom: {
50: '#a1a46a',
500: '#787f2d',
950: '#000000',
},
}SCSS
$custom: #787f2d; $custom-light: #a1a46a; $custom-dark: #000000;
JSON
{
"hex": "#787f2d",
"rgb": {
"r": 120,
"g": 127,
"b": 45
},
"hsl": {
"h": 65.122,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.57359,
"c": 0.10539,
"h": 113.9
},
"luminance": 0.19361
}Semantic roles & 50–950 ramp
primary
#787F2D
secondary
#625BAD
accent
#51D75C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A