#7A8013#7A8013
#7A8013 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.122 H 113.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7A8013 |
|---|---|
| RGB | rgb(122, 128, 19) |
| HSL | hsl(63, 74%, 29%) |
| HSV | hsv(63, 85%, 50%) |
| CMYK | cmyk(4.7%, 0%, 85.2%, 49.8%) |
| CIE-LAB | lab(51.41, -15.27, 52.22) |
| CIE-LCH | lch(51.41, 54.41, 106.30°) |
| OKLab | oklab(57.59% -0.0479 0.1127) |
| OKLCH | oklch(57.59% 0.122 113) |
| XYZ | xyz(15.8633, 19.6233, 3.5680) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.56
Olive
#808000
ΔE00 2.33
Poop Green
#6F7C00
ΔE00 2.79
Swamp Green
#748500
ΔE00 3.06
Murky Green
#6C7A0E
ΔE00 3.71
Olive (survey)
#6E750E
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A8013 #191380
analogous
#805013 #7A8013 #448013
triadic
#7A8013 #137A80 #80137A
tetradic
#7A8013 #138050 #191380 #801344
square
#7A8013 #138050 #191380 #801344
split-complementary
#7A8013 #134480 #501380
monochromatic
#191B04 #474B0B #7A8013 #ADB51B #D6E02D
Accessibility & contrast
On white
4.26
#7A8013 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7A8013 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A8013
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A8013 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A8013 | 1.00 | 4.26 | 4.92 | 4.92 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C1E
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7a8013; /* rgb */ color: rgb(122, 128, 19); /* oklch */ color: oklch(57.6% 0.122 113.0);
Tailwind
colors: {
custom: {
50: '#a4a45d',
500: '#7a8013',
950: '#000000',
},
}SCSS
$custom: #7a8013; $custom-light: #a4a45d; $custom-dark: #000000;
JSON
{
"hex": "#7a8013",
"rgb": {
"r": 122,
"g": 128,
"b": 19
},
"hsl": {
"h": 63.303,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.57589,
"c": 0.12248,
"h": 113
},
"luminance": 0.19623
}Semantic roles & 50–950 ramp
primary
#7A8013
secondary
#4039B5
accent
#37F141
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79