#7A831A#7A831A
#7A831A is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.123 H 114.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7A831A |
|---|---|
| RGB | rgb(122, 131, 26) |
| HSL | hsl(65, 67%, 31%) |
| HSV | hsv(65, 80%, 51%) |
| CMYK | cmyk(6.9%, 0%, 80.2%, 48.6%) |
| CIE-LAB | lab(52.34, -16.60, 50.99) |
| CIE-LCH | lch(52.34, 53.62, 108.03°) |
| OKLab | oklab(58.34% -0.0511 0.1114) |
| OKLCH | oklch(58.34% 0.123 114.6) |
| XYZ | xyz(16.3293, 20.4451, 4.0632) |
| Luminance | 0.2044 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.94
Swamp Green
#748500
ΔE00 2.33
Poop Green
#6F7C00
ΔE00 3.30
Olive
#808000
ΔE00 3.31
Murky Green
#6C7A0E
ΔE00 4.09
Olive Green
#677A04
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A831A #231A83
analogous
#83571A #7A831A #45831A
triadic
#7A831A #1A7A83 #831A7A
tetradic
#7A831A #1A8357 #231A83 #831A45
square
#7A831A #1A8357 #231A83 #831A45
split-complementary
#7A831A #1A4583 #571A83
monochromatic
#1B1D06 #4A5010 #7A831A #AAB624 #CCD93F
Accessibility & contrast
On white
4.13
#7A831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#7A831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A831A
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A831A | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#827B70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7a831a; /* rgb */ color: rgb(122, 131, 26); /* oklch */ color: oklch(58.3% 0.123 114.6);
Tailwind
colors: {
custom: {
50: '#a4a661',
500: '#7a831a',
950: '#000000',
},
}SCSS
$custom: #7a831a; $custom-light: #a4a661; $custom-dark: #000000;
JSON
{
"hex": "#7a831a",
"rgb": {
"r": 122,
"g": 131,
"b": 26
},
"hsl": {
"h": 65.143,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.58343,
"c": 0.12252,
"h": 114.6
},
"luminance": 0.20445
}Semantic roles & 50–950 ramp
primary
#7A831A
secondary
#4C42B7
accent
#3EEA4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A