#A5D038#A5D038

#A5D038 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 79.9% C 0.179 H 124.4°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#A5D038
RGBrgb(165, 208, 56)
HSLhsl(77, 62%, 52%)
HSVhsv(77, 73%, 82%)
CMYKcmyk(20.7%, 0%, 73.1%, 18.4%)
CIE-LABlab(78.11, -34.77, 66.36)
CIE-LCHlch(78.11, 74.91, 117.65°)
OKLaboklab(79.95% -0.101 0.1476)
OKLCHoklch(79.95% 0.179 124.4)
XYZxyz(38.7871, 53.3962, 12.0037)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D038 #6338D0
analogous
#D0AF38 #A5D038 #59D038
triadic
#A5D038 #38A5D0 #D038A5
tetradic
#A5D038 #38D0AF #6338D0 #D03859
square
#A5D038 #38D0AF #6338D0 #D03859
split-complementary
#A5D038 #3859D0 #AF38D0
monochromatic
#5A731B #81A427 #A5D038 #BBDC6A #D2E79B

Accessibility & contrast

On white

1.80
#A5D038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#A5D038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D038
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D038#FFFFFF#000000##000000
##A5D0381.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC319
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#ADC6B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5d038;
/* rgb */ color: rgb(165, 208, 56);
/* oklch */ color: oklch(79.9% 0.179 124.4);
Tailwind
colors: {
  custom: {
    50: '#c4de79',
    500: '#a5d038',
    950: '#000000',
  },
}
SCSS
$custom: #a5d038;
$custom-light: #c4de79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d038",
  "rgb": {
    "r": 165,
    "g": 208,
    "b": 56
  },
  "hsl": {
    "h": 76.974,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79946,
    "c": 0.17889,
    "h": 124.4
  },
  "luminance": 0.53397
}

Semantic roles & 50–950 ramp

primary
#A5D038
secondary
#46317B
accent
#43E571
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5D038

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

Preview Lab → · Contrast checker → · Palette generator →

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