#A5BD22#A5BD22

#A5BD22 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.4% C 0.168 H 118.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#A5BD22
RGBrgb(165, 189, 34)
HSLhsl(69, 70%, 44%)
HSVhsv(69, 82%, 74%)
CMYKcmyk(12.7%, 0%, 82%, 25.9%)
CIE-LABlab(72.57, -26.81, 67.86)
CIE-LCHlch(72.57, 72.96, 111.56°)
OKLaboklab(75.44% -0.0808 0.1472)
OKLCHoklch(75.44% 0.168 118.8)
XYZxyz(34.0042, 44.5103, 8.3131)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BD22 #3A22BD
analogous
#BD8722 #A5BD22 #57BD22
triadic
#A5BD22 #22A5BD #BD22A5
tetradic
#A5BD22 #22BD87 #3A22BD #BD2257
square
#A5BD22 #22BD87 #3A22BD #BD2257
split-complementary
#A5BD22 #2257BD #8722BD
monochromatic
#4A550F #788919 #A5BD22 #C4DD40 #D4E673

Accessibility & contrast

On white

2.12
#A5BD22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#A5BD22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BD22
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BD22#FFFFFF#000000##000000
##A5BD221.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C7B333
Tritanopia (blue-blind)
#AFB2A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a5bd22;
/* rgb */ color: rgb(165, 189, 34);
/* oklch */ color: oklch(75.4% 0.168 118.8);
Tailwind
colors: {
  custom: {
    50: '#c4d06d',
    500: '#a5bd22',
    950: '#000000',
  },
}
SCSS
$custom: #a5bd22;
$custom-light: #c4d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bd22",
  "rgb": {
    "r": 165,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 69.29,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75439,
    "c": 0.16795,
    "h": 118.8
  },
  "luminance": 0.4451
}

Semantic roles & 50–950 ramp

primary
#A5BD22
secondary
#7D6ECD
accent
#3BEC57
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BD22

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

Preview Lab → · Contrast checker → · Palette generator →

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