#A5BF40#A5BF40

#A5BF40 is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.1% C 0.153 H 120.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#A5BF40
RGBrgb(165, 191, 64)
HSLhsl(72, 50%, 50%)
HSVhsv(72, 66%, 75%)
CMYKcmyk(13.6%, 0%, 66.5%, 25.1%)
CIE-LABlab(73.31, -26.30, 58.60)
CIE-LCHlch(73.31, 64.23, 114.18°)
OKLaboklab(76.09% -0.077 0.1326)
OKLCHoklch(76.09% 0.153 120.1)
XYZxyz(35.0738, 45.6312, 11.8095)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF40 #5A40BF
analogous
#BF9940 #A5BF40 #66BF40
triadic
#A5BF40 #40A5BF #BF40A5
tetradic
#A5BF40 #40BF99 #5A40BF #BF4066
square
#A5BF40 #40BF99 #5A40BF #BF4066
split-complementary
#A5BF40 #4066BF #9940BF
monochromatic
#566321 #7D9131 #A5BF40 #BBCE6E #D0DE9C

Accessibility & contrast

On white

2.07
#A5BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#A5BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF40
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF40#FFFFFF#000000##000000
##A5BF401.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#C8B44A
Tritanopia (blue-blind)
#AEB5A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf40;
/* rgb */ color: rgb(165, 191, 64);
/* oklch */ color: oklch(76.1% 0.153 120.1);
Tailwind
colors: {
  custom: {
    50: '#c3d27c',
    500: '#a5bf40',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf40;
$custom-light: #c3d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf40",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 72.283,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.76086,
    "c": 0.15329,
    "h": 120.1
  },
  "luminance": 0.45631
}

Semantic roles & 50–950 ramp

primary
#A5BF40
secondary
#9D91CA
accent
#4ED96B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A5BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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