#A5BF34#A5BF34

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

Color values

HEX#A5BF34
RGBrgb(165, 191, 52)
HSLhsl(71, 57%, 48%)
HSVhsv(71, 73%, 75%)
CMYKcmyk(13.6%, 0%, 72.8%, 25.1%)
CIE-LABlab(73.23, -27.00, 63.00)
CIE-LCHlch(73.23, 68.55, 113.20°)
OKLaboklab(76% -0.08 0.1399)
OKLCHoklch(76% 0.161 119.8)
XYZxyz(34.7683, 45.5090, 10.2006)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF34 #4E34BF
analogous
#BF9334 #A5BF34 #5FBF34
triadic
#A5BF34 #34A5BF #BF34A5
tetradic
#A5BF34 #34BF93 #4E34BF #BF345F
square
#A5BF34 #34BF93 #4E34BF #BF345F
split-complementary
#A5BF34 #345FBF #9334BF
monochromatic
#525F1A #7B8F27 #A5BF34 #BDD35D #D1E08D

Accessibility & contrast

On white

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

On black

10.10
#A5BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF34
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF34#FFFFFF#000000##000000
##A5BF341.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB419
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#AFB5A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf34;
/* rgb */ color: rgb(165, 191, 52);
/* oklch */ color: oklch(76.0% 0.161 119.8);
Tailwind
colors: {
  custom: {
    50: '#c3d275',
    500: '#a5bf34',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf34;
$custom-light: #c3d275;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf34",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 71.223,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75996,
    "c": 0.1612,
    "h": 119.8
  },
  "luminance": 0.45509
}

Semantic roles & 50–950 ramp

primary
#A5BF34
secondary
#9184CA
accent
#47E064
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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