#A5BE31#A5BE31

#A5BE31 is a light, vivid yellow-green. Relative luminance 0.450; OKLCH L 75.7% C 0.162 H 119.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#A5BE31
RGBrgb(165, 190, 49)
HSLhsl(71, 59%, 47%)
HSVhsv(71, 74%, 75%)
CMYKcmyk(13.2%, 0%, 74.2%, 25.5%)
CIE-LABlab(72.92, -26.67, 63.74)
CIE-LCHlch(72.92, 69.09, 112.71°)
OKLaboklab(75.75% -0.0793 0.141)
OKLCHoklch(75.75% 0.162 119.4)
XYZxyz(34.4856, 45.0482, 9.7836)
Luminance0.4505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BE31 #4A31BE
analogous
#BE9131 #A5BE31 #5FBE31
triadic
#A5BE31 #31A5BE #BE31A5
tetradic
#A5BE31 #31BE91 #4A31BE #BE315F
square
#A5BE31 #31BE91 #4A31BE #BE315F
split-complementary
#A5BE31 #315FBE #9131BE
monochromatic
#505D18 #7B8D24 #A5BE31 #BED458 #D1E189

Accessibility & contrast

On white

2.10
#A5BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#A5BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BE31
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BE31#FFFFFF#000000##000000
##A5BE311.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB312
Deuteranopia (green-blind)
#C8B33E
Tritanopia (blue-blind)
#AFB4A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a5be31;
/* rgb */ color: rgb(165, 190, 49);
/* oklch */ color: oklch(75.7% 0.162 119.4);
Tailwind
colors: {
  custom: {
    50: '#c3d174',
    500: '#a5be31',
    950: '#000000',
  },
}
SCSS
$custom: #a5be31;
$custom-light: #c3d174;
$custom-dark: #000000;
JSON
{
  "hex": "#a5be31",
  "rgb": {
    "r": 165,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 70.638,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.16179,
    "h": 119.4
  },
  "luminance": 0.45048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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