#A5CF34#A5CF34

#A5CF34 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.7% C 0.180 H 124.0°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#A5CF34
RGBrgb(165, 207, 52)
HSLhsl(76, 62%, 51%)
HSVhsv(76, 75%, 81%)
CMYKcmyk(20.3%, 0%, 74.9%, 18.8%)
CIE-LABlab(77.80, -34.52, 67.38)
CIE-LCHlch(77.80, 75.71, 117.12°)
OKLaboklab(79.69% -0.1006 0.1492)
OKLCHoklch(79.69% 0.18 124)
XYZxyz(38.4501, 52.8726, 11.4279)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF34 #5E34CF
analogous
#CFAB34 #A5CF34 #57CF34
triadic
#A5CF34 #34A5CF #CF34A5
tetradic
#A5CF34 #34CFAB #5E34CF #CF3457
square
#A5CF34 #34CFAB #5E34CF #CF3457
split-complementary
#A5CF34 #3457CF #AB34CF
monochromatic
#586E1A #7FA026 #A5CF34 #BBDB65 #D1E697

Accessibility & contrast

On white

1.81
#A5CF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#A5CF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF34
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF34#FFFFFF#000000##000000
##A5CF341.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC20F
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#ADC5B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5cf34;
/* rgb */ color: rgb(165, 207, 52);
/* oklch */ color: oklch(79.7% 0.180 124.0);
Tailwind
colors: {
  custom: {
    50: '#c4dd77',
    500: '#a5cf34',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf34;
$custom-light: #c4dd77;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf34",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 52
  },
  "hsl": {
    "h": 76.258,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79689,
    "c": 0.17994,
    "h": 124
  },
  "luminance": 0.52873
}

Semantic roles & 50–950 ramp

primary
#A5CF34
secondary
#432F78
accent
#43E56F
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A5CF34

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

Preview Lab → · Contrast checker → · Palette generator →

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