#A5CB42#A5CB42

#A5CB42 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.9% C 0.167 H 123.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#A5CB42
RGBrgb(165, 203, 66)
HSLhsl(77, 57%, 53%)
HSVhsv(77, 67%, 80%)
CMYKcmyk(18.7%, 0%, 67.5%, 20.4%)
CIE-LABlab(76.74, -31.87, 61.36)
CIE-LCHlch(76.74, 69.14, 117.45°)
OKLaboklab(78.86% -0.0922 0.1387)
OKLCHoklch(78.86% 0.167 123.6)
XYZxyz(37.8567, 51.1043, 13.0229)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CB42 #6842CB
analogous
#CBAC42 #A5CB42 #61CB42
triadic
#A5CB42 #42A5CB #CB42A5
tetradic
#A5CB42 #42CBAC #6842CB #CB4261
square
#A5CB42 #42CBAC #6842CB #CB4261
split-complementary
#A5CB42 #4261CB #AC42CB
monochromatic
#5C7320 #82A32D #A5CB42 #BCD872 #D3E5A2

Accessibility & contrast

On white

1.87
#A5CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#A5CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CB42
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CB42#FFFFFF#000000##000000
##A5CB421.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF2E
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#ADC1AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5cb42;
/* rgb */ color: rgb(165, 203, 66);
/* oklch */ color: oklch(78.9% 0.167 123.6);
Tailwind
colors: {
  custom: {
    50: '#c3db7e',
    500: '#a5cb42',
    950: '#000000',
  },
}
SCSS
$custom: #a5cb42;
$custom-light: #c3db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cb42",
  "rgb": {
    "r": 165,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 76.642,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78862,
    "c": 0.16652,
    "h": 123.6
  },
  "luminance": 0.51105
}

Semantic roles & 50–950 ramp

primary
#A5CB42
secondary
#49357C
accent
#48E072
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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