#A5CB2E#A5CB2E

#A5CB2E is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.7% C 0.178 H 122.9°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#A5CB2E
RGBrgb(165, 203, 46)
HSLhsl(75, 63%, 49%)
HSVhsv(75, 77%, 80%)
CMYKcmyk(18.7%, 0%, 77.3%, 20.4%)
CIE-LABlab(76.62, -32.95, 68.15)
CIE-LCHlch(76.62, 75.70, 115.81°)
OKLaboklab(78.73% -0.0968 0.1498)
OKLCHoklch(78.73% 0.178 122.9)
XYZxyz(37.3667, 50.9083, 10.4419)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CB2E #542ECB
analogous
#CBA32E #A5CB2E #57CB2E
triadic
#A5CB2E #2EA5CB #CB2EA5
tetradic
#A5CB2E #2ECBA3 #542ECB #CB2E57
square
#A5CB2E #2ECBA3 #542ECB #CB2E57
split-complementary
#A5CB2E #2E57CB #A32ECB
monochromatic
#546717 #7C9923 #A5CB2E #BCDA5C #D0E58E

Accessibility & contrast

On white

1.88
#A5CB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#A5CB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CB2E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CB2E#FFFFFF#000000##000000
##A5CB2E1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D2BD3E
Tritanopia (blue-blind)
#AEC1AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5cb2e;
/* rgb */ color: rgb(165, 203, 46);
/* oklch */ color: oklch(78.7% 0.178 122.9);
Tailwind
colors: {
  custom: {
    50: '#c4db74',
    500: '#a5cb2e',
    950: '#000000',
  },
}
SCSS
$custom: #a5cb2e;
$custom-light: #c4db74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cb2e",
  "rgb": {
    "r": 165,
    "g": 203,
    "b": 46
  },
  "hsl": {
    "h": 74.522,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78728,
    "c": 0.17837,
    "h": 122.9
  },
  "luminance": 0.50908
}

Semantic roles & 50–950 ramp

primary
#A5CB2E
secondary
#3D2C71
accent
#42E669
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A5CB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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