#797F2D#797F2D
#797F2D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.105 H 113.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #797F2D |
|---|---|
| RGB | rgb(121, 127, 45) |
| HSL | hsl(64, 48%, 34%) |
| HSV | hsv(64, 65%, 50%) |
| CMYK | cmyk(4.7%, 0%, 64.6%, 50.2%) |
| CIE-LAB | lab(51.19, -13.83, 42.40) |
| CIE-LCH | lch(51.19, 44.60, 108.07°) |
| OKLab | oklab(57.45% -0.0414 0.0966) |
| OKLCH | oklch(57.45% 0.105 113.2) |
| XYZ | xyz(15.9486, 19.4335, 5.3930) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.07
Murky Green
#6C7A0E
ΔE00 4.15
Shit Green
#758000
ΔE00 4.18
Olive Drab
#6F7632
ΔE00 4.22
Poop Green
#6F7C00
ΔE00 4.33
Khaki Green
#728639
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F2D #332D7F
analogous
#7F5C2D #797F2D #507F2D
triadic
#797F2D #2D797F #7F2D79
tetradic
#797F2D #2D7F5C #332D7F #7F2D50
square
#797F2D #2D7F5C #332D7F #7F2D50
split-complementary
#797F2D #2D507F #5C2D7F
monochromatic
#23250D #4E521D #797F2D #A4AC3D #BFC760
Accessibility & contrast
On white
4.30
#797F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#797F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F2D
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F2D | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887923
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#81786E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797f2d; /* rgb */ color: rgb(121, 127, 45); /* oklch */ color: oklch(57.4% 0.105 113.2);
Tailwind
colors: {
custom: {
50: '#a2a46a',
500: '#797f2d',
950: '#000000',
},
}SCSS
$custom: #797f2d; $custom-light: #a2a46a; $custom-dark: #000000;
JSON
{
"hex": "#797f2d",
"rgb": {
"r": 121,
"g": 127,
"b": 45
},
"hsl": {
"h": 64.39,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.57446,
"c": 0.10511,
"h": 113.2
},
"luminance": 0.19433
}Semantic roles & 50–950 ramp
primary
#797F2D
secondary
#615BAD
accent
#51D75A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A