#797B14#797B14
#797B14 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.117 H 110.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #797B14 |
|---|---|
| RGB | rgb(121, 123, 20) |
| HSL | hsl(61, 72%, 28%) |
| HSV | hsv(61, 84%, 48%) |
| CMYK | cmyk(1.6%, 0%, 83.7%, 51.8%) |
| CIE-LAB | lab(49.84, -13.01, 50.56) |
| CIE-LCH | lch(49.84, 52.21, 104.43°) |
| OKLab | oklab(56.31% -0.0416 0.1094) |
| OKLCH | oklch(56.31% 0.117 110.8) |
| XYZ | xyz(15.0949, 18.2818, 3.3953) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.80
Shit Green
#758000
ΔE00 2.92
Poop Green
#6F7C00
ΔE00 3.06
Olive (survey)
#6E750E
ΔE00 3.09
Murky Green
#6C7A0E
ΔE00 3.57
Olive Green
#677A04
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B14 #16147B
analogous
#7B4914 #797B14 #457B14
triadic
#797B14 #14797B #7B1479
tetradic
#797B14 #147B49 #16147B #7B1445
square
#797B14 #147B49 #16147B #7B1445
split-complementary
#797B14 #14457B #49147B
monochromatic
#1A1A04 #45460B #797B14 #ADB01D #D9DD2D
Accessibility & contrast
On white
4.51
#797B14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#797B14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B14
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B14 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#827369
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797b14; /* rgb */ color: rgb(121, 123, 20); /* oklch */ color: oklch(56.3% 0.117 110.8);
Tailwind
colors: {
custom: {
50: '#a3a05d',
500: '#797b14',
950: '#000000',
},
}SCSS
$custom: #797b14; $custom-light: #a3a05d; $custom-dark: #000000;
JSON
{
"hex": "#797b14",
"rgb": {
"r": 121,
"g": 123,
"b": 20
},
"hsl": {
"h": 61.165,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.5631,
"c": 0.11698,
"h": 110.8
},
"luminance": 0.18281
}Semantic roles & 50–950 ramp
primary
#797B14
secondary
#3D3AB1
accent
#39EF3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79