#A5C231#A5C231

#A5C231 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.7% C 0.166 H 120.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#A5C231
RGBrgb(165, 194, 49)
HSLhsl(72, 60%, 48%)
HSVhsv(72, 75%, 76%)
CMYKcmyk(14.9%, 0%, 74.7%, 23.9%)
CIE-LABlab(74.06, -28.59, 64.82)
CIE-LCHlch(74.06, 70.84, 113.80°)
OKLaboklab(76.67% -0.0846 0.1433)
OKLCHoklch(76.67% 0.166 120.6)
XYZxyz(35.3639, 46.8047, 10.0763)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C231 #4E31C2
analogous
#C29631 #A5C231 #5CC231
triadic
#A5C231 #31A5C2 #C231A5
tetradic
#A5C231 #31C296 #4E31C2 #C2315C
square
#A5C231 #31C296 #4E31C2 #C2315C
split-complementary
#A5C231 #315CC2 #9631C2
monochromatic
#526018 #7B9125 #A5C231 #BDD65B #D1E28C

Accessibility & contrast

On white

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

On black

10.36
#A5C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C231
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C231#FFFFFF#000000##000000
##A5C2311.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60F
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#AEB8A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c231;
/* rgb */ color: rgb(165, 194, 49);
/* oklch */ color: oklch(76.7% 0.166 120.6);
Tailwind
colors: {
  custom: {
    50: '#c3d474',
    500: '#a5c231',
    950: '#000000',
  },
}
SCSS
$custom: #a5c231;
$custom-light: #c3d474;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c231",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 72,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76667,
    "c": 0.1664,
    "h": 120.6
  },
  "luminance": 0.46805
}

Semantic roles & 50–950 ramp

primary
#A5C231
secondary
#9183CC
accent
#45E365
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C231

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

Preview Lab → · Contrast checker → · Palette generator →

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