#A5CC38#A5CC38

#A5CC38 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.0% C 0.174 H 123.4°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#A5CC38
RGBrgb(165, 204, 56)
HSLhsl(76, 59%, 51%)
HSVhsv(76, 73%, 80%)
CMYKcmyk(19.1%, 0%, 72.5%, 20%)
CIE-LABlab(76.96, -32.93, 65.24)
CIE-LCHlch(76.96, 73.08, 116.78°)
OKLaboklab(79.02% -0.096 0.1453)
OKLCHoklch(79.02% 0.174 123.4)
XYZxyz(37.8242, 51.4703, 11.6827)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CC38 #5F38CC
analogous
#CCA938 #A5CC38 #5BCC38
triadic
#A5CC38 #38A5CC #CC38A5
tetradic
#A5CC38 #38CCA9 #5F38CC #CC385B
square
#A5CC38 #38CCA9 #5F38CC #CC385B
split-complementary
#A5CC38 #385BCC #A938CC
monochromatic
#586E1C #7F9E29 #A5CC38 #BBD869 #D1E599

Accessibility & contrast

On white

1.86
#A5CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#A5CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CC38
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CC38#FFFFFF#000000##000000
##A5CC381.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1B
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#ADC2AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a5cc38;
/* rgb */ color: rgb(165, 204, 56);
/* oklch */ color: oklch(79.0% 0.174 123.4);
Tailwind
colors: {
  custom: {
    50: '#c3db79',
    500: '#a5cc38',
    950: '#000000',
  },
}
SCSS
$custom: #a5cc38;
$custom-light: #c3db79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cc38",
  "rgb": {
    "r": 165,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 75.811,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79019,
    "c": 0.17414,
    "h": 123.4
  },
  "luminance": 0.51471
}

Semantic roles & 50–950 ramp

primary
#A5CC38
secondary
#443177
accent
#45E26F
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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