#A5C338#A5C338

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

Color values

HEX#A5C338
RGBrgb(165, 195, 56)
HSLhsl(73, 55%, 49%)
HSVhsv(73, 71%, 76%)
CMYKcmyk(15.4%, 0%, 71.3%, 23.5%)
CIE-LABlab(74.39, -28.70, 62.73)
CIE-LCHlch(74.39, 68.98, 114.59°)
OKLaboklab(76.94% -0.0843 0.14)
OKLCHoklch(76.94% 0.163 121.1)
XYZxyz(35.7465, 47.3151, 10.9902)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C338 #5638C3
analogous
#C39C38 #A5C338 #60C338
triadic
#A5C338 #38A5C3 #C338A5
tetradic
#A5C338 #38C39C #5638C3 #C33860
square
#A5C338 #38C39C #5638C3 #C33860
split-complementary
#A5C338 #3860C3 #9C38C3
monochromatic
#55641D #7D932A #A5C338 #BBD365 #D0E195

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5C338#FFFFFF#000000##000000
##A5C3381.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)
#CFB71F
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#AEB9A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a5c338;
/* rgb */ color: rgb(165, 195, 56);
/* oklch */ color: oklch(76.9% 0.163 121.1);
Tailwind
colors: {
  custom: {
    50: '#c3d578',
    500: '#a5c338',
    950: '#000000',
  },
}
SCSS
$custom: #a5c338;
$custom-light: #c3d578;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c338",
  "rgb": {
    "r": 165,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 72.95,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.16346,
    "h": 121.1
  },
  "luminance": 0.47315
}

Semantic roles & 50–950 ramp

primary
#A5C338
secondary
#998BCC
accent
#49DF69
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C338

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

Preview Lab → · Contrast checker → · Palette generator →

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