#A6BA28#A6BA28
#A6BA28 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.162 H 117.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA28 |
|---|---|
| RGB | rgb(166, 186, 40) |
| HSL | hsl(68, 65%, 44%) |
| HSV | hsv(68, 78%, 73%) |
| CMYK | cmyk(10.8%, 0%, 78.5%, 27.1%) |
| CIE-LAB | lab(71.81, -24.72, 65.57) |
| CIE-LCH | lch(71.81, 70.07, 110.66°) |
| OKLab | oklab(74.86% -0.0747 0.1433) |
| OKLCH | oklch(74.86% 0.162 117.5) |
| XYZ | xyz(33.6686, 43.3784, 8.6063) |
| Luminance | 0.4338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.74
Sick Green
#9DB92C
ΔE00 2.03
Snot
#ACBB0D
ΔE00 2.23
Bright Olive
#9CBB04
ΔE00 2.31
Gross Green
#A0BF16
ΔE00 2.33
Mustard Green
#A8B504
ΔE00 2.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA28 #3C28BA
analogous
#BA8528 #A6BA28 #5DBA28
triadic
#A6BA28 #28A6BA #BA28A6
tetradic
#A6BA28 #28BA85 #3C28BA #BA285D
square
#A6BA28 #28BA85 #3C28BA #BA285D
split-complementary
#A6BA28 #285DBA #8528BA
monochromatic
#4C5512 #79881D #A6BA28 #C4D848 #D4E27A
Accessibility & contrast
On white
2.17
#A6BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#A6BA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA28
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA28 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba28; /* rgb */ color: rgb(166, 186, 40); /* oklch */ color: oklch(74.9% 0.162 117.5);
Tailwind
colors: {
custom: {
50: '#c4ce6f',
500: '#a6ba28',
950: '#000000',
},
}SCSS
$custom: #a6ba28; $custom-light: #c4ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a6ba28",
"rgb": {
"r": 166,
"g": 186,
"b": 40
},
"hsl": {
"h": 68.219,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.74855,
"c": 0.16161,
"h": 117.5
},
"luminance": 0.43378
}Semantic roles & 50–950 ramp
primary
#A6BA28
secondary
#7F73CA
accent
#40E857
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B