#797F13#797F13
#797F13 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.122 H 113.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #797F13 |
|---|---|
| RGB | rgb(121, 127, 19) |
| HSL | hsl(63, 74%, 29%) |
| HSV | hsv(63, 85%, 50%) |
| CMYK | cmyk(4.7%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(51.03, -15.19, 51.86) |
| CIE-LCH | lch(51.03, 54.04, 106.33°) |
| OKLab | oklab(57.26% -0.0477 0.112) |
| OKLCH | oklch(57.26% 0.122 113.1) |
| XYZ | xyz(15.5926, 19.2911, 3.5181) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.56
Olive
#808000
ΔE00 2.49
Poop Green
#6F7C00
ΔE00 2.53
Swamp Green
#748500
ΔE00 3.24
Murky Green
#6C7A0E
ΔE00 3.40
Olive (survey)
#6E750E
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F13 #19137F
analogous
#7F4F13 #797F13 #437F13
triadic
#797F13 #13797F #7F1379
tetradic
#797F13 #137F4F #19137F #7F1343
square
#797F13 #137F4F #19137F #7F1343
split-complementary
#797F13 #13437F #4F137F
monochromatic
#191B04 #464A0B #797F13 #ACB41B #D6E02D
Accessibility & contrast
On white
4.32
#797F13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#797F13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F13
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F13 | 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)
#897800
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#82776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797f13; /* rgb */ color: rgb(121, 127, 19); /* oklch */ color: oklch(57.3% 0.122 113.1);
Tailwind
colors: {
custom: {
50: '#a3a35d',
500: '#797f13',
950: '#000000',
},
}SCSS
$custom: #797f13; $custom-light: #a3a35d; $custom-dark: #000000;
JSON
{
"hex": "#797f13",
"rgb": {
"r": 121,
"g": 127,
"b": 19
},
"hsl": {
"h": 63.333,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.57262,
"c": 0.1217,
"h": 113.1
},
"luminance": 0.19291
}Semantic roles & 50–950 ramp
primary
#797F13
secondary
#4039B4
accent
#37F141
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79