#6A7A16#6A7A16
#6A7A16 is a mid, vivid yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.120 H 118.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #6A7A16 |
|---|---|
| RGB | rgb(106, 122, 22) |
| HSL | hsl(70, 69%, 28%) |
| HSV | hsv(70, 82%, 48%) |
| CMYK | cmyk(13.1%, 0%, 82%, 52.2%) |
| CIE-LAB | lab(48.31, -19.27, 48.15) |
| CIE-LCH | lch(48.31, 51.86, 111.82°) |
| OKLab | oklab(54.78% -0.0579 0.1052) |
| OKLCH | oklch(54.78% 0.12 118.8) |
| XYZ | xyz(13.0485, 17.0413, 3.3608) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.02
Olive Green
#677A04
ΔE00 1.31
Poop Green
#6F7C00
ΔE00 2.37
Olive (survey)
#6E750E
ΔE00 2.89
Dirty Green
#667E2C
ΔE00 3.82
Shit Green
#758000
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A7A16 #26167A
analogous
#7A5816 #6A7A16 #387A16
triadic
#6A7A16 #166A7A #7A166A
tetradic
#6A7A16 #167A58 #26167A #7A1638
square
#6A7A16 #167A58 #26167A #7A1638
split-complementary
#6A7A16 #16387A #58167A
monochromatic
#171A05 #3D460D #6A7A16 #97AE1F #BFDA31
Accessibility & contrast
On white
4.76
#6A7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#6A7A16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A7A16
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A7A16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A7A16 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#717368
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6a7a16; /* rgb */ color: rgb(106, 122, 22); /* oklch */ color: oklch(54.8% 0.120 118.8);
Tailwind
colors: {
custom: {
50: '#98a05d',
500: '#6a7a16',
950: '#000000',
},
}SCSS
$custom: #6a7a16; $custom-light: #98a05d; $custom-dark: #000000;
JSON
{
"hex": "#6a7a16",
"rgb": {
"r": 106,
"g": 122,
"b": 22
},
"hsl": {
"h": 69.6,
"s": 69.444,
"l": 28.235
},
"oklch": {
"l": 0.54784,
"c": 0.12005,
"h": 118.8
},
"luminance": 0.17041
}Semantic roles & 50–950 ramp
primary
#6A7A16
secondary
#4F3DAF
accent
#3CEC58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79