#A5BA23#A5BA23
#A5BA23 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.164 H 117.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BA23 |
|---|---|
| RGB | rgb(165, 186, 35) |
| HSL | hsl(68, 68%, 43%) |
| HSV | hsv(68, 81%, 73%) |
| CMYK | cmyk(11.3%, 0%, 81.2%, 27.1%) |
| CIE-LAB | lab(71.72, -25.32, 66.85) |
| CIE-LCH | lch(71.72, 71.49, 110.75°) |
| OKLab | oklab(74.75% -0.0767 0.1452) |
| OKLCH | oklch(74.75% 0.164 117.8) |
| XYZ | xyz(33.3802, 43.2388, 8.1772) |
| Luminance | 0.4324 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.58
Bright Olive
#9CBB04
ΔE00 2.01
Sick Green
#9DB92C
ΔE00 2.03
Gross Green
#A0BF16
ΔE00 2.11
Snot
#ACBB0D
ΔE00 2.12
Mustard Green
#A8B504
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BA23 #3823BA
analogous
#BA8323 #A5BA23 #5ABA23
triadic
#A5BA23 #23A5BA #BA23A5
tetradic
#A5BA23 #23BA83 #3823BA #BA235A
square
#A5BA23 #23BA83 #3823BA #BA235A
split-complementary
#A5BA23 #235ABA #8323BA
monochromatic
#4A5310 #778619 #A5BA23 #C5DB3F #D5E573
Accessibility & contrast
On white
2.18
#A5BA23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#A5BA23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BA23
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BA23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BA23 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C5B033
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5ba23; /* rgb */ color: rgb(165, 186, 35); /* oklch */ color: oklch(74.8% 0.164 117.8);
Tailwind
colors: {
custom: {
50: '#c4ce6d',
500: '#a5ba23',
950: '#000000',
},
}SCSS
$custom: #a5ba23; $custom-light: #c4ce6d; $custom-dark: #000000;
JSON
{
"hex": "#a5ba23",
"rgb": {
"r": 165,
"g": 186,
"b": 35
},
"hsl": {
"h": 68.344,
"s": 68.326,
"l": 43.333
},
"oklch": {
"l": 0.74754,
"c": 0.16423,
"h": 117.8
},
"luminance": 0.43238
}Semantic roles & 50–950 ramp
primary
#A5BA23
secondary
#7A6DCC
accent
#3DEB55
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B