#A5C334#A5C334

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

Color values

HEX#A5C334
RGBrgb(165, 195, 52)
HSLhsl(73, 58%, 48%)
HSVhsv(73, 73%, 76%)
CMYKcmyk(15.4%, 0%, 73.3%, 23.5%)
CIE-LABlab(74.37, -28.92, 64.10)
CIE-LCHlch(74.37, 70.32, 114.28°)
OKLaboklab(76.92% -0.0853 0.1423)
OKLCHoklch(76.92% 0.166 120.9)
XYZxyz(35.6526, 47.2775, 10.4954)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C334 #5234C3
analogous
#C39934 #A5C334 #5EC334
triadic
#A5C334 #34A5C3 #C334A5
tetradic
#A5C334 #34C399 #5234C3 #C3345E
square
#A5C334 #34C399 #5234C3 #C3345E
split-complementary
#A5C334 #345EC3 #9934C3
monochromatic
#53621A #7C9327 #A5C334 #BCD560 #D0E190

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5C334#FFFFFF#000000##000000
##A5C3341.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)
#CFB717
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#AEB9A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a5c334;
/* rgb */ color: rgb(165, 195, 52);
/* oklch */ color: oklch(76.9% 0.166 120.9);
Tailwind
colors: {
  custom: {
    50: '#c3d576',
    500: '#a5c334',
    950: '#000000',
  },
}
SCSS
$custom: #a5c334;
$custom-light: #c3d576;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c334",
  "rgb": {
    "r": 165,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 72.587,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76916,
    "c": 0.16586,
    "h": 120.9
  },
  "luminance": 0.47277
}

Semantic roles & 50–950 ramp

primary
#A5C334
secondary
#9587CC
accent
#47E167
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C334

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

Preview Lab → · Contrast checker → · Palette generator →

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