#A5C17B#A5C17B

#A5C17B is a light, moderate yellow-green. Relative luminance 0.476; OKLCH L 77.3% C 0.099 H 126.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#A5C17B
RGBrgb(165, 193, 123)
HSLhsl(84, 36%, 62%)
HSVhsv(84, 36%, 76%)
CMYKcmyk(14.5%, 0%, 36.3%, 24.3%)
CIE-LABlab(74.55, -21.45, 32.19)
CIE-LCHlch(74.55, 38.68, 123.67°)
OKLaboklab(77.31% -0.0586 0.0796)
OKLCHoklch(77.31% 0.099 126.3)
XYZxyz(38.1618, 47.5690, 25.9063)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C17B #977BC1
analogous
#C1BA7B #A5C17B #82C17B
triadic
#A5C17B #7BA5C1 #C17BA5
tetradic
#A5C17B #7BC1BA #977BC1 #C17B82
square
#A5C17B #7BC1BA #977BC1 #C17B82
split-complementary
#A5C17B #7B82C1 #BA7BC1
monochromatic
#68843E #89AD51 #A5C17B #C1D5A5 #DEE8CE

Accessibility & contrast

On white

2.00
#A5C17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#A5C17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C17B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C17B#FFFFFF#000000##000000
##A5C17B1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B876
Deuteranopia (green-blind)
#C4B77E
Tritanopia (blue-blind)
#A9BBAF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a5c17b;
/* rgb */ color: rgb(165, 193, 123);
/* oklch */ color: oklch(77.3% 0.099 126.3);
Tailwind
colors: {
  custom: {
    50: '#c0d3a2',
    500: '#a5c17b',
    950: '#000000',
  },
}
SCSS
$custom: #a5c17b;
$custom-light: #c0d3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c17b",
  "rgb": {
    "r": 165,
    "g": 193,
    "b": 123
  },
  "hsl": {
    "h": 84,
    "s": 36.082,
    "l": 61.961
  },
  "oklch": {
    "l": 0.77308,
    "c": 0.09883,
    "h": 126.3
  },
  "luminance": 0.47569
}

Semantic roles & 50–950 ramp

primary
#A5C17B
secondary
#C9BFD9
accent
#37AF67
background
#FBFCFA
surface
#F7F9F3
border
#D0D2CD
text
#12140F
muted
#81827F

Preview Lab

Preview with #A5C17B

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

Preview Lab → · Contrast checker → · Palette generator →

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