#A5BB1F#A5BB1F
#A5BB1F is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.167 H 118.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BB1F |
|---|---|
| RGB | rgb(165, 187, 31) |
| HSL | hsl(68, 72%, 43%) |
| HSV | hsv(68, 83%, 73%) |
| CMYK | cmyk(11.8%, 0%, 83.4%, 26.7%) |
| CIE-LAB | lab(71.99, -25.94, 68.10) |
| CIE-LCH | lch(71.99, 72.87, 110.85°) |
| OKLab | oklab(74.97% -0.0786 0.1472) |
| OKLCH | oklch(74.97% 0.167 118.1) |
| XYZ | xyz(33.5355, 43.6392, 7.9526) |
| Luminance | 0.4364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.29
Bright Olive
#9CBB04
ΔE00 1.80
Gross Green
#A0BF16
ΔE00 1.82
Snot
#ACBB0D
ΔE00 2.02
Sick Green
#9DB92C
ΔE00 2.16
Mustard Green
#A8B504
ΔE00 2.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BB1F #351FBB
analogous
#BB831F #A5BB1F #57BB1F
triadic
#A5BB1F #1FA5BB #BB1FA5
tetradic
#A5BB1F #1FBB83 #351FBB #BB1F57
square
#A5BB1F #1FBB83 #351FBB #BB1F57
split-complementary
#A5BB1F #1F57BB #831FBB
monochromatic
#48520E #778716 #A5BB1F #C7DE39 #D6E76E
Accessibility & contrast
On white
2.16
#A5BB1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#A5BB1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BB1F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BB1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BB1F | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B131
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a5bb1f; /* rgb */ color: rgb(165, 187, 31); /* oklch */ color: oklch(75.0% 0.167 118.1);
Tailwind
colors: {
custom: {
50: '#c4cf6c',
500: '#a5bb1f',
950: '#000000',
},
}SCSS
$custom: #a5bb1f; $custom-light: #c4cf6c; $custom-dark: #000000;
JSON
{
"hex": "#a5bb1f",
"rgb": {
"r": 165,
"g": 187,
"b": 31
},
"hsl": {
"h": 68.462,
"s": 71.56,
"l": 42.745
},
"oklch": {
"l": 0.74967,
"c": 0.16693,
"h": 118.1
},
"luminance": 0.43639
}Semantic roles & 50–950 ramp
primary
#A5BB1F
secondary
#7769CD
accent
#3AEE53
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A