#A5BF2C#A5BF2C

#A5BF2C is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.9% C 0.166 H 119.6°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#A5BF2C
RGBrgb(165, 191, 44)
HSLhsl(71, 63%, 46%)
HSVhsv(71, 77%, 75%)
CMYKcmyk(13.6%, 0%, 77%, 25.1%)
CIE-LABlab(73.18, -27.39, 65.59)
CIE-LCHlch(73.18, 71.07, 112.66°)
OKLaboklab(75.95% -0.0817 0.1441)
OKLCHoklch(75.95% 0.166 119.6)
XYZxyz(34.6032, 45.4430, 9.3308)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF2C #462CBF
analogous
#BF8F2C #A5BF2C #5BBF2C
triadic
#A5BF2C #2CA5BF #BF2CA5
tetradic
#A5BF2C #2CBF8F #462CBF #BF2C5B
square
#A5BF2C #2CBF8F #462CBF #BF2C5B
split-complementary
#A5BF2C #2C5BBF #8F2CBF
monochromatic
#4F5C15 #7A8D21 #A5BF2C #BFD751 #D2E283

Accessibility & contrast

On white

2.08
#A5BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#A5BF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF2C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF2C#FFFFFF#000000##000000
##A5BF2C1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B43A
Tritanopia (blue-blind)
#AFB4A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf2c;
/* rgb */ color: rgb(165, 191, 44);
/* oklch */ color: oklch(75.9% 0.166 119.6);
Tailwind
colors: {
  custom: {
    50: '#c3d271',
    500: '#a5bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf2c;
$custom-light: #c3d271;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf2c",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 70.612,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75948,
    "c": 0.16561,
    "h": 119.6
  },
  "luminance": 0.45443
}

Semantic roles & 50–950 ramp

primary
#A5BF2C
secondary
#897BCC
accent
#42E65F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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