#A5CF42#A5CF42

#A5CF42 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.8% C 0.171 H 124.6°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#A5CF42
RGBrgb(165, 207, 66)
HSLhsl(78, 59%, 54%)
HSVhsv(78, 68%, 81%)
CMYKcmyk(20.3%, 0%, 68.1%, 18.8%)
CIE-LABlab(77.89, -33.73, 62.53)
CIE-LCHlch(77.89, 71.05, 118.34°)
OKLaboklab(79.79% -0.0973 0.1411)
OKLCHoklch(79.79% 0.171 124.6)
XYZxyz(38.8135, 53.0180, 13.3419)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF42 #6C42CF
analogous
#CFB242 #A5CF42 #5ECF42
triadic
#A5CF42 #42A5CF #CF42A5
tetradic
#A5CF42 #42CFB2 #6C42CF #CF425E
square
#A5CF42 #42CFB2 #6C42CF #CF425E
split-complementary
#A5CF42 #425ECF #B242CF
monochromatic
#5D781F #83A92B #A5CF42 #BCDB73 #D3E8A4

Accessibility & contrast

On white

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

On black

11.60
#A5CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF42
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF42#FFFFFF#000000##000000
##A5CF421.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#ACC5B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5cf42;
/* rgb */ color: rgb(165, 207, 66);
/* oklch */ color: oklch(79.8% 0.171 124.6);
Tailwind
colors: {
  custom: {
    50: '#c3dd7e',
    500: '#a5cf42',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf42;
$custom-light: #c3dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf42",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 77.872,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79786,
    "c": 0.17143,
    "h": 124.6
  },
  "luminance": 0.53018
}

Semantic roles & 50–950 ramp

primary
#A5CF42
secondary
#4B3580
accent
#45E374
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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