#A5BF4F#A5BF4F

#A5BF4F is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.2% C 0.141 H 120.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#A5BF4F
RGBrgb(165, 191, 79)
HSLhsl(74, 47%, 53%)
HSVhsv(74, 59%, 75%)
CMYKcmyk(13.6%, 0%, 58.6%, 25.1%)
CIE-LABlab(73.43, -25.20, 52.37)
CIE-LCHlch(73.43, 58.12, 115.70°)
OKLaboklab(76.23% -0.0725 0.1214)
OKLCHoklch(76.23% 0.141 120.8)
XYZxyz(35.5595, 45.8255, 14.3675)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF4F #694FBF
analogous
#BFA14F #A5BF4F #6DBF4F
triadic
#A5BF4F #4FA5BF #BF4FA5
tetradic
#A5BF4F #4FBFA1 #694FBF #BF4F6D
square
#A5BF4F #4FBFA1 #694FBF #BF4F6D
split-complementary
#A5BF4F #4F6DBF #A14FBF
monochromatic
#5C6C27 #829938 #A5BF4F #BCCF7C #D3E0A9

Accessibility & contrast

On white

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

On black

10.16
#A5BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF4F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF4F#FFFFFF#000000##000000
##A5BF4F1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#ADB6A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf4f;
/* rgb */ color: rgb(165, 191, 79);
/* oklch */ color: oklch(76.2% 0.141 120.8);
Tailwind
colors: {
  custom: {
    50: '#c2d284',
    500: '#a5bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf4f;
$custom-light: #c2d284;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf4f",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 73.929,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.14135,
    "h": 120.8
  },
  "luminance": 0.45825
}

Semantic roles & 50–950 ramp

primary
#A5BF4F
secondary
#A89DCD
accent
#51D670
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #A5BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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