#A5BF2E#A5BF2E

#A5BF2E 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#A5BF2E
RGBrgb(165, 191, 46)
HSLhsl(71, 61%, 46%)
HSVhsv(71, 76%, 75%)
CMYKcmyk(13.6%, 0%, 75.9%, 25.1%)
CIE-LABlab(73.19, -27.30, 64.97)
CIE-LCHlch(73.19, 70.47, 112.79°)
OKLaboklab(75.96% -0.0813 0.1431)
OKLCHoklch(75.96% 0.165 119.6)
XYZxyz(34.6417, 45.4584, 9.5336)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF2E #482EBF
analogous
#BF912E #A5BF2E #5DBF2E
triadic
#A5BF2E #2EA5BF #BF2EA5
tetradic
#A5BF2E #2EBF91 #482EBF #BF2E5D
square
#A5BF2E #2EBF91 #482EBF #BF2E5D
split-complementary
#A5BF2E #2E5DBF #912EBF
monochromatic
#505C16 #7A8E22 #A5BF2E #BFD654 #D1E286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a5bf2e;
/* rgb */ color: rgb(165, 191, 46);
/* oklch */ color: oklch(76.0% 0.165 119.6);
Tailwind
colors: {
  custom: {
    50: '#c3d272',
    500: '#a5bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf2e;
$custom-light: #c3d272;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf2e",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 70.759,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75959,
    "c": 0.16458,
    "h": 119.6
  },
  "luminance": 0.45458
}

Semantic roles & 50–950 ramp

primary
#A5BF2E
secondary
#8C7ECB
accent
#44E460
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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