#A5C256#A5C256

#A5C256 is a light, vivid yellow-green. Relative luminance 0.473; OKLCH L 77.0% C 0.139 H 122.3°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#A5C256
RGBrgb(165, 194, 86)
HSLhsl(76, 47%, 55%)
HSVhsv(76, 56%, 76%)
CMYKcmyk(14.9%, 0%, 55.7%, 23.9%)
CIE-LABlab(74.35, -26.06, 50.24)
CIE-LCHlch(74.35, 56.59, 117.41°)
OKLaboklab(76.99% -0.0742 0.1176)
OKLCHoklch(76.99% 0.139 122.3)
XYZxyz(36.4888, 47.2547, 16.0011)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C256 #7356C2
analogous
#C2A956 #A5C256 #6FC256
triadic
#A5C256 #56A5C2 #C256A5
tetradic
#A5C256 #56C2A9 #7356C2 #C2566F
square
#A5C256 #56C2A9 #7356C2 #C2566F
split-complementary
#A5C256 #566FC2 #A956C2
monochromatic
#60742A #85A13A #A5C256 #BDD283 #D5E2B0

Accessibility & contrast

On white

2.01
#A5C256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#A5C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C256
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C256#FFFFFF#000000##000000
##A5C2561.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB84B
Deuteranopia (green-blind)
#C9B75D
Tritanopia (blue-blind)
#ACB9AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a5c256;
/* rgb */ color: rgb(165, 194, 86);
/* oklch */ color: oklch(77.0% 0.139 122.3);
Tailwind
colors: {
  custom: {
    50: '#c2d489',
    500: '#a5c256',
    950: '#000000',
  },
}
SCSS
$custom: #a5c256;
$custom-light: #c2d489;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c256",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 76.111,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.139,
    "h": 122.3
  },
  "luminance": 0.47255
}

Semantic roles & 50–950 ramp

primary
#A5C256
secondary
#AFA3D1
accent
#51D775
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #A5C256

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

Preview Lab → · Contrast checker → · Palette generator →

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