#A5C631#A5C631

#A5C631 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.6% C 0.171 H 121.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#A5C631
RGBrgb(165, 198, 49)
HSLhsl(73, 60%, 48%)
HSVhsv(73, 75%, 78%)
CMYKcmyk(16.7%, 0%, 75.3%, 22.4%)
CIE-LABlab(75.21, -30.48, 65.90)
CIE-LCHlch(75.21, 72.61, 114.82°)
OKLaboklab(77.59% -0.0898 0.1456)
OKLCHoklch(77.59% 0.171 121.7)
XYZxyz(36.2661, 48.6092, 10.3771)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C631 #5231C6
analogous
#C69C31 #A5C631 #5AC631
triadic
#A5C631 #31A5C6 #C631A5
tetradic
#A5C631 #31C69C #5231C6 #C6315A
square
#A5C631 #31C69C #5231C6 #C6315A
split-complementary
#A5C631 #315AC6 #9C31C6
monochromatic
#536419 #7C9525 #A5C631 #BCD75D #D0E38E

Accessibility & contrast

On white

1.96
#A5C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#A5C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C631
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C631#FFFFFF#000000##000000
##A5C6311.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0C
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#AEBCAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a5c631;
/* rgb */ color: rgb(165, 198, 49);
/* oklch */ color: oklch(77.6% 0.171 121.7);
Tailwind
colors: {
  custom: {
    50: '#c3d775',
    500: '#a5c631',
    950: '#000000',
  },
}
SCSS
$custom: #a5c631;
$custom-light: #c3d775;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c631",
  "rgb": {
    "r": 165,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 73.289,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77589,
    "c": 0.17104,
    "h": 121.7
  },
  "luminance": 0.48609
}

Semantic roles & 50–950 ramp

primary
#A5C631
secondary
#9585CE
accent
#44E368
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C631

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

Preview Lab → · Contrast checker → · Palette generator →

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