#A5BD31#A5BD31

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

Color values

HEX#A5BD31
RGBrgb(165, 189, 49)
HSLhsl(70, 59%, 47%)
HSVhsv(70, 74%, 74%)
CMYKcmyk(12.7%, 0%, 74.1%, 25.9%)
CIE-LABlab(72.64, -26.19, 63.47)
CIE-LCHlch(72.64, 68.66, 112.42°)
OKLaboklab(75.52% -0.078 0.1404)
OKLCHoklch(75.52% 0.161 119.1)
XYZxyz(34.2697, 44.6165, 9.7116)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BD31 #4931BD
analogous
#BD8F31 #A5BD31 #5FBD31
triadic
#A5BD31 #31A5BD #BD31A5
tetradic
#A5BD31 #31BD8F #4931BD #BD315F
square
#A5BD31 #31BD8F #4931BD #BD315F
split-complementary
#A5BD31 #315FBD #8F31BD
monochromatic
#505C18 #7B8C24 #A5BD31 #BED458 #D1E088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BD31#FFFFFF#000000##000000
##A5BD311.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)
#C9B213
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#AFB3A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a5bd31;
/* rgb */ color: rgb(165, 189, 49);
/* oklch */ color: oklch(75.5% 0.161 119.1);
Tailwind
colors: {
  custom: {
    50: '#c3d073',
    500: '#a5bd31',
    950: '#000000',
  },
}
SCSS
$custom: #a5bd31;
$custom-light: #c3d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bd31",
  "rgb": {
    "r": 165,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 70.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75518,
    "c": 0.16064,
    "h": 119.1
  },
  "luminance": 0.44616
}

Semantic roles & 50–950 ramp

primary
#A5BD31
secondary
#8D80CA
accent
#46E261
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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