#A5C151#A5C151

#A5C151 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.7% C 0.142 H 121.6°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#A5C151
RGBrgb(165, 193, 81)
HSLhsl(75, 47%, 54%)
HSVhsv(75, 58%, 76%)
CMYKcmyk(14.5%, 0%, 58%, 24.3%)
CIE-LABlab(74.02, -26.01, 52.13)
CIE-LCHlch(74.02, 58.26, 116.51°)
OKLaboklab(76.71% -0.0745 0.1211)
OKLCHoklch(76.71% 0.142 121.6)
XYZxyz(36.0726, 46.7333, 14.9030)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C151 #6D51C1
analogous
#C1A551 #A5C151 #6DC151
triadic
#A5C151 #51A5C1 #C151A5
tetradic
#A5C151 #51C1A5 #6D51C1 #C1516D
square
#A5C151 #51C1A5 #6D51C1 #C1516D
split-complementary
#A5C151 #516DC1 #A551C1
monochromatic
#5E7028 #849D38 #A5C151 #BCD17E #D4E1AB

Accessibility & contrast

On white

2.03
#A5C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#A5C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C151
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C151#FFFFFF#000000##000000
##A5C1511.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB645
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#ADB8A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c151;
/* rgb */ color: rgb(165, 193, 81);
/* oklch */ color: oklch(76.7% 0.142 121.6);
Tailwind
colors: {
  custom: {
    50: '#c2d386',
    500: '#a5c151',
    950: '#000000',
  },
}
SCSS
$custom: #a5c151;
$custom-light: #c2d386;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c151",
  "rgb": {
    "r": 165,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 75,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76706,
    "c": 0.14217,
    "h": 121.6
  },
  "luminance": 0.46733
}

Semantic roles & 50–950 ramp

primary
#A5C151
secondary
#AB9FCF
accent
#51D772
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #A5C151

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

Preview Lab → · Contrast checker → · Palette generator →

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