#A5BB2C#A5BB2C

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

Color values

HEX#A5BB2C
RGBrgb(165, 187, 44)
HSLhsl(69, 62%, 45%)
HSVhsv(69, 76%, 73%)
CMYKcmyk(11.8%, 0%, 76.5%, 26.7%)
CIE-LABlab(72.04, -25.45, 64.53)
CIE-LCHlch(72.04, 69.37, 111.53°)
OKLaboklab(75.03% -0.0764 0.1418)
OKLCHoklch(75.03% 0.161 118.3)
XYZxyz(33.7428, 43.7221, 9.0440)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB2C #422CBB
analogous
#BB8A2C #A5BB2C #5DBB2C
triadic
#A5BB2C #2CA5BB #BB2CA5
tetradic
#A5BB2C #2CBB8A #422CBB #BB2C5D
square
#A5BB2C #2CBB8A #422CBB #BB2C5D
split-complementary
#A5BB2C #2C5DBB #8A2CBB
monochromatic
#4E5815 #798920 #A5BB2C #C1D64F #D2E180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BB2C#FFFFFF#000000##000000
##A5BB2C1.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)
#C8B004
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb2c;
/* rgb */ color: rgb(165, 187, 44);
/* oklch */ color: oklch(75.0% 0.161 118.3);
Tailwind
colors: {
  custom: {
    50: '#c3cf71',
    500: '#a5bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb2c;
$custom-light: #c3cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb2c",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 69.231,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75029,
    "c": 0.16109,
    "h": 118.3
  },
  "luminance": 0.43722
}

Semantic roles & 50–950 ramp

primary
#A5BB2C
secondary
#8579CA
accent
#43E55C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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