#797B25#797B25
#797B25 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.107 H 110.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #797B25 |
|---|---|
| RGB | rgb(121, 123, 37) |
| HSL | hsl(61, 54%, 31%) |
| HSV | hsv(61, 70%, 48%) |
| CMYK | cmyk(1.6%, 0%, 69.9%, 51.8%) |
| CIE-LAB | lab(49.94, -12.20, 44.59) |
| CIE-LCH | lch(49.94, 46.23, 105.30°) |
| OKLab | oklab(56.42% -0.0377 0.0999) |
| OKLCH | oklch(56.42% 0.107 110.7) |
| XYZ | xyz(15.3025, 18.3648, 4.4886) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.43
Murky Green
#6C7A0E
ΔE00 3.84
Poop Green
#6F7C00
ΔE00 3.95
Shit Green
#758000
ΔE00 4.05
Olive Drab
#6F7632
ΔE00 4.18
Olive
#808000
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B25 #27257B
analogous
#7B5225 #797B25 #4E7B25
triadic
#797B25 #25797B #7B2579
tetradic
#797B25 #257B52 #27257B #7B254E
square
#797B25 #257B52 #27257B #7B254E
split-complementary
#797B25 #254E7B #52257B
monochromatic
#1C1D09 #4B4C17 #797B25 #A7AA33 #C8CA50
Accessibility & contrast
On white
4.49
#797B25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#797B25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B25
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B25 | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857518
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#82736A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b25; /* rgb */ color: rgb(121, 123, 37); /* oklch */ color: oklch(56.4% 0.107 110.7);
Tailwind
colors: {
custom: {
50: '#a2a165',
500: '#797b25',
950: '#000000',
},
}SCSS
$custom: #797b25; $custom-light: #a2a165; $custom-dark: #000000;
JSON
{
"hex": "#797b25",
"rgb": {
"r": 121,
"g": 123,
"b": 37
},
"hsl": {
"h": 61.395,
"s": 53.75,
"l": 31.373
},
"oklch": {
"l": 0.56421,
"c": 0.1068,
"h": 110.7
},
"luminance": 0.18364
}Semantic roles & 50–950 ramp
primary
#797B25
secondary
#514FAD
accent
#4BDD4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A