#A5B92B#A5B92B
#A5B92B is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.6% C 0.159 H 117.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B92B |
|---|---|
| RGB | rgb(165, 185, 43) |
| HSL | hsl(68, 62%, 45%) |
| HSV | hsv(68, 77%, 73%) |
| CMYK | cmyk(10.8%, 0%, 76.8%, 27.5%) |
| CIE-LAB | lab(71.47, -24.52, 64.32) |
| CIE-LCH | lch(71.47, 68.83, 110.87°) |
| OKLab | oklab(74.57% -0.0739 0.1412) |
| OKLCH | oklch(74.57% 0.159 117.6) |
| XYZ | xyz(33.3029, 42.8720, 8.8058) |
| Luminance | 0.4287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.80
Pea
#A4BF20
ΔE00 2.00
Bright Olive
#9CBB04
ΔE00 2.44
Gross Green
#A0BF16
ΔE00 2.53
Snot
#ACBB0D
ΔE00 2.57
Mustard Green
#A8B504
ΔE00 2.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B92B #3F2BB9
analogous
#B9862B #A5B92B #5EB92B
triadic
#A5B92B #2BA5B9 #B92BA5
tetradic
#A5B92B #2BB986 #3F2BB9 #B92B5E
square
#A5B92B #2BB986 #3F2BB9 #B92B5E
split-complementary
#A5B92B #2B5EB9 #862BB9
monochromatic
#4C5614 #79871F #A5B92B #C2D54C #D3E17E
Accessibility & contrast
On white
2.19
#A5B92B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#A5B92B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B92B
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B92B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B92B | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF02
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#AFAE9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a5b92b; /* rgb */ color: rgb(165, 185, 43); /* oklch */ color: oklch(74.6% 0.159 117.6);
Tailwind
colors: {
custom: {
50: '#c3ce70',
500: '#a5b92b',
950: '#000000',
},
}SCSS
$custom: #a5b92b; $custom-light: #c3ce70; $custom-dark: #000000;
JSON
{
"hex": "#a5b92b",
"rgb": {
"r": 165,
"g": 185,
"b": 43
},
"hsl": {
"h": 68.451,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.74566,
"c": 0.15937,
"h": 117.6
},
"luminance": 0.42872
}Semantic roles & 50–950 ramp
primary
#A5B92B
secondary
#8276C9
accent
#42E559
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B