#797F25#797F25
#797F25 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.111 H 113.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #797F25 |
|---|---|
| RGB | rgb(121, 127, 37) |
| HSL | hsl(64, 55%, 32%) |
| HSV | hsv(64, 71%, 50%) |
| CMYK | cmyk(4.7%, 0%, 70.9%, 50.2%) |
| CIE-LAB | lab(51.13, -14.36, 45.79) |
| CIE-LCH | lch(51.13, 47.99, 107.42°) |
| OKLab | oklab(57.37% -0.0438 0.1024) |
| OKLCH | oklch(57.37% 0.111 113.1) |
| XYZ | xyz(15.8089, 19.3776, 4.6574) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.09
Poop Green
#6F7C00
ΔE00 3.44
Murky Green
#6C7A0E
ΔE00 3.57
Olive
#808000
ΔE00 4.02
Swamp Green
#748500
ΔE00 4.16
Olive (survey)
#6E750E
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F25 #2B257F
analogous
#7F5825 #797F25 #4C7F25
triadic
#797F25 #25797F #7F2579
tetradic
#797F25 #257F58 #2B257F #7F254C
square
#797F25 #257F58 #2B257F #7F254C
split-complementary
#797F25 #254C7F #58257F
monochromatic
#1F2009 #4C5017 #797F25 #A6AE33 #C4CD52
Accessibility & contrast
On white
4.31
#797F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#797F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F25
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F25 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897917
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#81776D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797f25; /* rgb */ color: rgb(121, 127, 37); /* oklch */ color: oklch(57.4% 0.111 113.1);
Tailwind
colors: {
custom: {
50: '#a2a466',
500: '#797f25',
950: '#000000',
},
}SCSS
$custom: #797f25; $custom-light: #a2a466; $custom-dark: #000000;
JSON
{
"hex": "#797f25",
"rgb": {
"r": 121,
"g": 127,
"b": 37
},
"hsl": {
"h": 64,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.57374,
"c": 0.1114,
"h": 113.1
},
"luminance": 0.19377
}Semantic roles & 50–950 ramp
primary
#797F25
secondary
#564FB1
accent
#4ADE53
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A