#A5C258#A5C258

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

Color values

HEX#A5C258
RGBrgb(165, 194, 88)
HSLhsl(76, 46%, 55%)
HSVhsv(76, 55%, 76%)
CMYKcmyk(14.9%, 0%, 54.6%, 23.9%)
CIE-LABlab(74.37, -25.88, 49.34)
CIE-LCHlch(74.37, 55.71, 117.68°)
OKLaboklab(77.01% -0.0735 0.1158)
OKLCHoklch(77.01% 0.137 122.4)
XYZxyz(36.5705, 47.2874, 16.4314)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C258 #7558C2
analogous
#C2AA58 #A5C258 #70C258
triadic
#A5C258 #58A5C2 #C258A5
tetradic
#A5C258 #58C2AA #7558C2 #C25870
square
#A5C258 #58C2AA #7558C2 #C25870
split-complementary
#A5C258 #5870C2 #AA58C2
monochromatic
#61752B #86A23B #A5C258 #BDD285 #D5E3B2

Accessibility & contrast

On white

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

On black

10.46
#A5C258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C258
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C258#FFFFFF#000000##000000
##A5C2581.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5c258;
/* rgb */ color: rgb(165, 194, 88);
/* oklch */ color: oklch(77.0% 0.137 122.4);
Tailwind
colors: {
  custom: {
    50: '#c2d48a',
    500: '#a5c258',
    950: '#000000',
  },
}
SCSS
$custom: #a5c258;
$custom-light: #c2d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c258",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 76.415,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77014,
    "c": 0.13715,
    "h": 122.4
  },
  "luminance": 0.47287
}

Semantic roles & 50–950 ramp

primary
#A5C258
secondary
#B1A5D1
accent
#52D676
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #A5C258

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

Preview Lab → · Contrast checker → · Palette generator →

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