#A5BB2B#A5BB2B

#A5BB2B is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.0% C 0.162 H 118.3°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#A5BB2B
RGBrgb(165, 187, 43)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 77%, 73%)
CMYKcmyk(11.8%, 0%, 77%, 26.7%)
CIE-LABlab(72.04, -25.50, 64.84)
CIE-LCHlch(72.04, 69.67, 111.47°)
OKLaboklab(75.02% -0.0766 0.1423)
OKLCHoklch(75.02% 0.162 118.3)
XYZxyz(33.7242, 43.7147, 8.9462)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB2B #412BBB
analogous
#BB892B #A5BB2B #5DBB2B
triadic
#A5BB2B #2BA5BB #BB2BA5
tetradic
#A5BB2B #2BBB89 #412BBB #BB2B5D
square
#A5BB2B #2BBB89 #412BBB #BB2B5D
split-complementary
#A5BB2B #2B5DBB #892BBB
monochromatic
#4D5714 #798920 #A5BB2B #C1D64D #D2E27F

Accessibility & contrast

On white

2.16
#A5BB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#A5BB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB2B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB2B#FFFFFF#000000##000000
##A5BB2B1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb2b;
/* rgb */ color: rgb(165, 187, 43);
/* oklch */ color: oklch(75.0% 0.162 118.3);
Tailwind
colors: {
  custom: {
    50: '#c3cf70',
    500: '#a5bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb2b;
$custom-light: #c3cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb2b",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 69.167,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75024,
    "c": 0.16161,
    "h": 118.3
  },
  "luminance": 0.43714
}

Semantic roles & 50–950 ramp

primary
#A5BB2B
secondary
#8478CA
accent
#42E65B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BB2B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A5BB2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva