#A5CD38#A5CD38

#A5CD38 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.3% C 0.175 H 123.7°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#A5CD38
RGBrgb(165, 205, 56)
HSLhsl(76, 60%, 51%)
HSVhsv(76, 73%, 80%)
CMYKcmyk(19.5%, 0%, 72.7%, 19.6%)
CIE-LABlab(77.25, -33.39, 65.52)
CIE-LCHlch(77.25, 73.54, 117.00°)
OKLaboklab(79.25% -0.0972 0.1459)
OKLCHoklch(79.25% 0.175 123.7)
XYZxyz(38.0626, 51.9472, 11.7622)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CD38 #6038CD
analogous
#CDAA38 #A5CD38 #5ACD38
triadic
#A5CD38 #38A5CD #CD38A5
tetradic
#A5CD38 #38CDAA #6038CD #CD385A
square
#A5CD38 #38CDAA #6038CD #CD385A
split-complementary
#A5CD38 #385ACD #AA38CD
monochromatic
#596F1C #80A028 #A5CD38 #BBD969 #D1E69A

Accessibility & contrast

On white

1.84
#A5CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#A5CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CD38
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CD38#FFFFFF#000000##000000
##A5CD381.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#ADC3B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a5cd38;
/* rgb */ color: rgb(165, 205, 56);
/* oklch */ color: oklch(79.3% 0.175 123.7);
Tailwind
colors: {
  custom: {
    50: '#c3dc79',
    500: '#a5cd38',
    950: '#000000',
  },
}
SCSS
$custom: #a5cd38;
$custom-light: #c3dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cd38",
  "rgb": {
    "r": 165,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 76.107,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79251,
    "c": 0.17532,
    "h": 123.7
  },
  "luminance": 0.51947
}

Semantic roles & 50–950 ramp

primary
#A5CD38
secondary
#443178
accent
#45E36F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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