#A5BD2B#A5BD2B

#A5BD2B 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#A5BD2B
RGBrgb(165, 189, 43)
HSLhsl(70, 63%, 45%)
HSVhsv(70, 77%, 74%)
CMYKcmyk(12.7%, 0%, 77.2%, 25.9%)
CIE-LABlab(72.61, -26.47, 65.36)
CIE-LCHlch(72.61, 70.52, 112.04°)
OKLaboklab(75.48% -0.0793 0.1434)
OKLCHoklch(75.48% 0.164 118.9)
XYZxyz(34.1514, 44.5692, 9.0886)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BD2B #432BBD
analogous
#BD8C2B #A5BD2B #5CBD2B
triadic
#A5BD2B #2BA5BD #BD2BA5
tetradic
#A5BD2B #2BBD8C #432BBD #BD2B5C
square
#A5BD2B #2BBD8C #432BBD #BD2B5C
split-complementary
#A5BD2B #2B5CBD #8C2BBD
monochromatic
#4E5914 #798B20 #A5BD2B #C0D74E #D2E280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BD2B#FFFFFF#000000##000000
##A5BD2B1.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)
#C7B339
Tritanopia (blue-blind)
#AFB2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a5bd2b;
/* rgb */ color: rgb(165, 189, 43);
/* oklch */ color: oklch(75.5% 0.164 118.9);
Tailwind
colors: {
  custom: {
    50: '#c3d071',
    500: '#a5bd2b',
    950: '#000000',
  },
}
SCSS
$custom: #a5bd2b;
$custom-light: #c3d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bd2b",
  "rgb": {
    "r": 165,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 69.863,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75483,
    "c": 0.16386,
    "h": 118.9
  },
  "luminance": 0.44569
}

Semantic roles & 50–950 ramp

primary
#A5BD2B
secondary
#8679CB
accent
#42E65D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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