#A5BB31#A5BB31
#A5BB31 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.1% C 0.158 H 118.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BB31 |
|---|---|
| RGB | rgb(165, 187, 49) |
| HSL | hsl(70, 58%, 46%) |
| HSV | hsv(70, 74%, 73%) |
| CMYK | cmyk(11.8%, 0%, 73.8%, 26.7%) |
| CIE-LAB | lab(72.07, -25.22, 62.92) |
| CIE-LCH | lch(72.07, 67.79, 111.84°) |
| OKLab | oklab(75.06% -0.0753 0.1393) |
| OKLCH | oklch(75.06% 0.158 118.4) |
| XYZ | xyz(33.8425, 43.7620, 9.5692) |
| Luminance | 0.4376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.48
Pea
#A4BF20
ΔE00 1.75
Gross Green
#A0BF16
ΔE00 2.31
Bright Olive
#9CBB04
ΔE00 2.49
Booger
#9BB53C
ΔE00 2.87
Snot
#ACBB0D
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BB31 #4731BB
analogous
#BB8C31 #A5BB31 #60BB31
triadic
#A5BB31 #31A5BB #BB31A5
tetradic
#A5BB31 #31BB8C #4731BB #BB3160
square
#A5BB31 #31BB8C #4731BB #BB3160
split-complementary
#A5BB31 #3160BB #8C31BB
monochromatic
#4F5A18 #7A8B24 #A5BB31 #BFD356 #D1E087
Accessibility & contrast
On white
2.15
#A5BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#A5BB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BB31
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BB31 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a5bb31; /* rgb */ color: rgb(165, 187, 49); /* oklch */ color: oklch(75.1% 0.158 118.4);
Tailwind
colors: {
custom: {
50: '#c3cf73',
500: '#a5bb31',
950: '#000000',
},
}SCSS
$custom: #a5bb31; $custom-light: #c3cf73; $custom-dark: #000000;
JSON
{
"hex": "#a5bb31",
"rgb": {
"r": 165,
"g": 187,
"b": 49
},
"hsl": {
"h": 69.565,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.75059,
"c": 0.15834,
"h": 118.4
},
"luminance": 0.43762
}Semantic roles & 50–950 ramp
primary
#A5BB31
secondary
#8B7FC9
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B