#A5BD2A#A5BD2A

#A5BD2A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.5% C 0.164 H 118.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#A5BD2A
RGBrgb(165, 189, 42)
HSLhsl(70, 64%, 45%)
HSVhsv(70, 78%, 74%)
CMYKcmyk(12.7%, 0%, 77.8%, 25.9%)
CIE-LABlab(72.60, -26.51, 65.66)
CIE-LCHlch(72.60, 70.81, 111.98°)
OKLaboklab(75.48% -0.0795 0.1439)
OKLCHoklch(75.48% 0.164 118.9)
XYZxyz(34.1333, 44.5619, 8.9932)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BD2A #422ABD
analogous
#BD8B2A #A5BD2A #5BBD2A
triadic
#A5BD2A #2AA5BD #BD2AA5
tetradic
#A5BD2A #2ABD8B #422ABD #BD2A5B
square
#A5BD2A #2ABD8B #422ABD #BD2A5B
split-complementary
#A5BD2A #2A5BBD #8B2ABD
monochromatic
#4E5914 #798B1F #A5BD2A #C1D74D #D2E37F

Accessibility & contrast

On white

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

On black

9.91
#A5BD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BD2A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BD2A#FFFFFF#000000##000000
##A5BD2A1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bd2a;
/* rgb */ color: rgb(165, 189, 42);
/* oklch */ color: oklch(75.5% 0.164 118.9);
Tailwind
colors: {
  custom: {
    50: '#c3d070',
    500: '#a5bd2a',
    950: '#000000',
  },
}
SCSS
$custom: #a5bd2a;
$custom-light: #c3d070;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bd2a",
  "rgb": {
    "r": 165,
    "g": 189,
    "b": 42
  },
  "hsl": {
    "h": 69.796,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75477,
    "c": 0.16435,
    "h": 118.9
  },
  "luminance": 0.44562
}

Semantic roles & 50–950 ramp

primary
#A5BD2A
secondary
#8578CB
accent
#41E75C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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