#A5BD28#A5BD28

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

Color values

HEX#A5BD28
RGBrgb(165, 189, 40)
HSLhsl(70, 65%, 45%)
HSVhsv(70, 79%, 74%)
CMYKcmyk(12.7%, 0%, 78.8%, 25.9%)
CIE-LABlab(72.59, -26.59, 66.25)
CIE-LCHlch(72.59, 71.38, 111.87°)
OKLaboklab(75.47% -0.0798 0.1448)
OKLCHoklch(75.47% 0.165 118.9)
XYZxyz(34.0984, 44.5480, 8.8094)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BD28 #4028BD
analogous
#BD8A28 #A5BD28 #5BBD28
triadic
#A5BD28 #28A5BD #BD28A5
tetradic
#A5BD28 #28BD8A #4028BD #BD285B
square
#A5BD28 #28BD8A #4028BD #BD285B
split-complementary
#A5BD28 #285BBD #8A28BD
monochromatic
#4D5813 #798A1D #A5BD28 #C2D94A #D3E37C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a5bd28;
/* rgb */ color: rgb(165, 189, 40);
/* oklch */ color: oklch(75.5% 0.165 118.9);
Tailwind
colors: {
  custom: {
    50: '#c4d06f',
    500: '#a5bd28',
    950: '#000000',
  },
}
SCSS
$custom: #a5bd28;
$custom-light: #c4d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bd28",
  "rgb": {
    "r": 165,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 69.664,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75467,
    "c": 0.16532,
    "h": 118.9
  },
  "luminance": 0.44548
}

Semantic roles & 50–950 ramp

primary
#A5BD28
secondary
#8375CB
accent
#40E85B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BD28

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

Preview Lab → · Contrast checker → · Palette generator →

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