#A5CB4F#A5CB4F

#A5CB4F is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.0% C 0.157 H 124.3°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#A5CB4F
RGBrgb(165, 203, 79)
HSLhsl(78, 54%, 55%)
HSVhsv(78, 61%, 80%)
CMYKcmyk(18.7%, 0%, 61.1%, 20.4%)
CIE-LABlab(76.85, -30.94, 56.16)
CIE-LCHlch(76.85, 64.11, 118.85°)
OKLaboklab(78.98% -0.0884 0.1294)
OKLCHoklch(78.98% 0.157 124.3)
XYZxyz(38.2845, 51.2754, 15.2758)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CB4F #754FCB
analogous
#CBB34F #A5CB4F #67CB4F
triadic
#A5CB4F #4FA5CB #CB4FA5
tetradic
#A5CB4F #4FCBB3 #754FCB #CB4F67
square
#A5CB4F #4FCBB3 #754FCB #CB4F67
split-complementary
#A5CB4F #4F67CB #B34FCB
monochromatic
#617B24 #86AA32 #A5CB4F #BDD97E #D5E7AD

Accessibility & contrast

On white

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

On black

11.26
#A5CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CB4F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CB4F#FFFFFF#000000##000000
##A5CB4F1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF40
Deuteranopia (green-blind)
#D1BD58
Tritanopia (blue-blind)
#ACC2B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a5cb4f;
/* rgb */ color: rgb(165, 203, 79);
/* oklch */ color: oklch(79.0% 0.157 124.3);
Tailwind
colors: {
  custom: {
    50: '#c2db85',
    500: '#a5cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #a5cb4f;
$custom-light: #c2db85;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cb4f",
  "rgb": {
    "r": 165,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 78.387,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78978,
    "c": 0.15674,
    "h": 124.3
  },
  "luminance": 0.51276
}

Semantic roles & 50–950 ramp

primary
#A5CB4F
secondary
#513B83
accent
#4ADE77
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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