#A5BB21#A5BB21

#A5BB21 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.166 H 118.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#A5BB21
RGBrgb(165, 187, 33)
HSLhsl(69, 70%, 43%)
HSVhsv(69, 82%, 73%)
CMYKcmyk(11.8%, 0%, 82.4%, 26.7%)
CIE-LABlab(71.99, -25.88, 67.61)
CIE-LCHlch(71.99, 72.40, 110.94°)
OKLaboklab(74.98% -0.0783 0.1465)
OKLCHoklch(74.98% 0.166 118.1)
XYZxyz(33.5627, 43.6501, 8.0958)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB21 #3721BB
analogous
#BB8421 #A5BB21 #58BB21
triadic
#A5BB21 #21A5BB #BB21A5
tetradic
#A5BB21 #21BB84 #3721BB #BB2158
square
#A5BB21 #21BB84 #3721BB #BB2158
split-complementary
#A5BB21 #2158BB #8421BB
monochromatic
#49530F #778718 #A5BB21 #C6DD3D #D5E671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BB21#FFFFFF#000000##000000
##A5BB211.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)
#C6B132
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5bb21;
/* rgb */ color: rgb(165, 187, 33);
/* oklch */ color: oklch(75.0% 0.166 118.1);
Tailwind
colors: {
  custom: {
    50: '#c4cf6c',
    500: '#a5bb21',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb21;
$custom-light: #c4cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb21",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 33
  },
  "hsl": {
    "h": 68.571,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74975,
    "c": 0.16615,
    "h": 118.1
  },
  "luminance": 0.4365
}

Semantic roles & 50–950 ramp

primary
#A5BB21
secondary
#796BCC
accent
#3BED54
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5BB21

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

Preview Lab → · Contrast checker → · Palette generator →

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