#A5BD2C#A5BD2C

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

Color values

HEX#A5BD2C
RGBrgb(165, 189, 44)
HSLhsl(70, 62%, 46%)
HSVhsv(70, 77%, 74%)
CMYKcmyk(12.7%, 0%, 76.7%, 25.9%)
CIE-LABlab(72.61, -26.42, 65.06)
CIE-LCHlch(72.61, 70.22, 112.10°)
OKLaboklab(75.49% -0.0791 0.1429)
OKLCHoklch(75.49% 0.163 118.9)
XYZxyz(34.1700, 44.5766, 9.1864)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BD2C #442CBD
analogous
#BD8C2C #A5BD2C #5CBD2C
triadic
#A5BD2C #2CA5BD #BD2CA5
tetradic
#A5BD2C #2CBD8C #442CBD #BD2C5C
square
#A5BD2C #2CBD8C #442CBD #BD2C5C
split-complementary
#A5BD2C #2C5CBD #8C2CBD
monochromatic
#4E5A15 #7A8B20 #A5BD2C #C0D650 #D2E282

Accessibility & contrast

On white

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

On black

9.92
#A5BD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BD2C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BD2C#FFFFFF#000000##000000
##A5BD2C1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bd2c;
/* rgb */ color: rgb(165, 189, 44);
/* oklch */ color: oklch(75.5% 0.163 118.9);
Tailwind
colors: {
  custom: {
    50: '#c3d071',
    500: '#a5bd2c',
    950: '#000000',
  },
}
SCSS
$custom: #a5bd2c;
$custom-light: #c3d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bd2c",
  "rgb": {
    "r": 165,
    "g": 189,
    "b": 44
  },
  "hsl": {
    "h": 69.931,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75488,
    "c": 0.16335,
    "h": 118.9
  },
  "luminance": 0.44576
}

Semantic roles & 50–950 ramp

primary
#A5BD2C
secondary
#877ACB
accent
#42E55D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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