#A5BF3B#A5BF3B

#A5BF3B is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.0% C 0.157 H 120.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#A5BF3B
RGBrgb(165, 191, 59)
HSLhsl(72, 53%, 49%)
HSVhsv(72, 69%, 75%)
CMYKcmyk(13.6%, 0%, 69.1%, 25.1%)
CIE-LABlab(73.27, -26.61, 60.50)
CIE-LCHlch(73.27, 66.10, 113.74°)
OKLaboklab(76.05% -0.0783 0.1358)
OKLCHoklch(76.05% 0.157 120)
XYZxyz(34.9379, 45.5768, 11.0935)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF3B #553BBF
analogous
#BF973B #A5BF3B #63BF3B
triadic
#A5BF3B #3BA5BF #BF3BA5
tetradic
#A5BF3B #3BBF97 #553BBF #BF3B63
square
#A5BF3B #3BBF97 #553BBF #BF3B63
split-complementary
#A5BF3B #3B63BF #973BBF
monochromatic
#54611E #7D902D #A5BF3B #BBD067 #D0DF96

Accessibility & contrast

On white

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

On black

10.12
#A5BF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF3B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF3B#FFFFFF#000000##000000
##A5BF3B1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bf3b;
/* rgb */ color: rgb(165, 191, 59);
/* oklch */ color: oklch(76.0% 0.157 120.0);
Tailwind
colors: {
  custom: {
    50: '#c3d279',
    500: '#a5bf3b',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf3b;
$custom-light: #c3d279;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf3b",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 71.818,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76046,
    "c": 0.15677,
    "h": 120
  },
  "luminance": 0.45577
}

Semantic roles & 50–950 ramp

primary
#A5BF3B
secondary
#988CCA
accent
#4CDC68
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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