#A5C326#A5C326

#A5C326 is a light, vivid yellow-green. Relative luminance 0.472; OKLCH L 76.8% C 0.173 H 120.6°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#A5C326
RGBrgb(165, 195, 38)
HSLhsl(71, 67%, 46%)
HSVhsv(71, 81%, 76%)
CMYKcmyk(15.4%, 0%, 80.5%, 23.5%)
CIE-LABlab(74.30, -29.53, 68.33)
CIE-LCHlch(74.30, 74.44, 113.38°)
OKLaboklab(76.84% -0.088 0.1489)
OKLCHoklch(76.84% 0.173 120.6)
XYZxyz(35.3827, 47.1696, 9.0740)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C326 #4426C3
analogous
#C39226 #A5C326 #56C326
triadic
#A5C326 #26A5C3 #C326A5
tetradic
#A5C326 #26C392 #4426C3 #C32656
square
#A5C326 #26C392 #4426C3 #C32656
split-complementary
#A5C326 #2656C3 #9226C3
monochromatic
#4E5D12 #7A901C #A5C326 #C0DC4A #D2E67E

Accessibility & contrast

On white

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

On black

10.43
#A5C326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C326
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C326#FFFFFF#000000##000000
##A5C3261.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#AFB8A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a5c326;
/* rgb */ color: rgb(165, 195, 38);
/* oklch */ color: oklch(76.8% 0.173 120.6);
Tailwind
colors: {
  custom: {
    50: '#c4d56f',
    500: '#a5c326',
    950: '#000000',
  },
}
SCSS
$custom: #a5c326;
$custom-light: #c4d56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c326",
  "rgb": {
    "r": 165,
    "g": 195,
    "b": 38
  },
  "hsl": {
    "h": 71.465,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76838,
    "c": 0.17295,
    "h": 120.6
  },
  "luminance": 0.47169
}

Semantic roles & 50–950 ramp

primary
#A5C326
secondary
#8777CE
accent
#3EEA5F
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A5C326

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

Preview Lab → · Contrast checker → · Palette generator →

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