#A5BB20#A5BB20

#A5BB20 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#A5BB20
RGBrgb(165, 187, 32)
HSLhsl(69, 71%, 43%)
HSVhsv(69, 83%, 73%)
CMYKcmyk(11.8%, 0%, 82.9%, 26.7%)
CIE-LABlab(71.99, -25.91, 67.86)
CIE-LCHlch(71.99, 72.64, 110.90°)
OKLaboklab(74.97% -0.0785 0.1469)
OKLCHoklch(74.97% 0.167 118.1)
XYZxyz(33.5489, 43.6446, 8.0231)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB20 #3620BB
analogous
#BB8320 #A5BB20 #58BB20
triadic
#A5BB20 #20A5BB #BB20A5
tetradic
#A5BB20 #20BB83 #3620BB #BB2058
square
#A5BB20 #20BB83 #3620BB #BB2058
split-complementary
#A5BB20 #2058BB #8320BB
monochromatic
#49520E #778717 #A5BB20 #C6DD3B #D5E66F

Accessibility & contrast

On white

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

On black

9.73
#A5BB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB20
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB20#FFFFFF#000000##000000
##A5BB201.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.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: #a5bb20;
/* rgb */ color: rgb(165, 187, 32);
/* oklch */ color: oklch(75.0% 0.167 118.1);
Tailwind
colors: {
  custom: {
    50: '#c4cf6c',
    500: '#a5bb20',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb20;
$custom-light: #c4cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb20",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 32
  },
  "hsl": {
    "h": 68.516,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74971,
    "c": 0.16654,
    "h": 118.1
  },
  "luminance": 0.43644
}

Semantic roles & 50–950 ramp

primary
#A5BB20
secondary
#786ACD
accent
#3AEE54
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5BB20

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

Preview Lab → · Contrast checker → · Palette generator →

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