#A5BF2D#A5BF2D

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

Color values

HEX#A5BF2D
RGBrgb(165, 191, 45)
HSLhsl(71, 62%, 46%)
HSVhsv(71, 76%, 75%)
CMYKcmyk(13.6%, 0%, 76.4%, 25.1%)
CIE-LABlab(73.19, -27.34, 65.28)
CIE-LCHlch(73.19, 70.78, 112.72°)
OKLaboklab(75.95% -0.0815 0.1436)
OKLCHoklch(75.95% 0.165 119.6)
XYZxyz(34.6222, 45.4506, 9.4310)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF2D #472DBF
analogous
#BF902D #A5BF2D #5CBF2D
triadic
#A5BF2D #2DA5BF #BF2DA5
tetradic
#A5BF2D #2DBF90 #472DBF #BF2D5C
square
#A5BF2D #2DBF90 #472DBF #BF2D5C
split-complementary
#A5BF2D #2D5CBF #902DBF
monochromatic
#4F5C16 #7A8D21 #A5BF2D #BFD653 #D1E284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5BF2D#FFFFFF#000000##000000
##A5BF2D1.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)
#CBB404
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#AFB5A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf2d;
/* rgb */ color: rgb(165, 191, 45);
/* oklch */ color: oklch(76.0% 0.165 119.6);
Tailwind
colors: {
  custom: {
    50: '#c3d272',
    500: '#a5bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf2d;
$custom-light: #c3d272;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf2d",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 70.685,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75953,
    "c": 0.16509,
    "h": 119.6
  },
  "luminance": 0.4545
}

Semantic roles & 50–950 ramp

primary
#A5BF2D
secondary
#8B7CCB
accent
#43E560
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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