#A5CE38#A5CE38

#A5CE38 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.5% C 0.177 H 123.9°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#A5CE38
RGBrgb(165, 206, 56)
HSLhsl(76, 60%, 51%)
HSVhsv(76, 73%, 81%)
CMYKcmyk(19.9%, 0%, 72.8%, 19.2%)
CIE-LABlab(77.54, -33.85, 65.80)
CIE-LCHlch(77.54, 74.00, 117.22°)
OKLaboklab(79.48% -0.0985 0.1465)
OKLCHoklch(79.48% 0.177 123.9)
XYZxyz(38.3026, 52.4272, 11.8422)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CE38 #6138CE
analogous
#CEAC38 #A5CE38 #5ACE38
triadic
#A5CE38 #38A5CE #CE38A5
tetradic
#A5CE38 #38CEAC #6138CE #CE385A
square
#A5CE38 #38CEAC #6138CE #CE385A
split-complementary
#A5CE38 #385ACE #AC38CE
monochromatic
#59701C #80A128 #A5CE38 #BBDA69 #D1E69A

Accessibility & contrast

On white

1.83
#A5CE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#A5CE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CE38
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CE38#FFFFFF#000000##000000
##A5CE381.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11A
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#ADC4B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5ce38;
/* rgb */ color: rgb(165, 206, 56);
/* oklch */ color: oklch(79.5% 0.177 123.9);
Tailwind
colors: {
  custom: {
    50: '#c3dd79',
    500: '#a5ce38',
    950: '#000000',
  },
}
SCSS
$custom: #a5ce38;
$custom-light: #c3dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ce38",
  "rgb": {
    "r": 165,
    "g": 206,
    "b": 56
  },
  "hsl": {
    "h": 76.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79482,
    "c": 0.17652,
    "h": 123.9
  },
  "luminance": 0.52427
}

Semantic roles & 50–950 ramp

primary
#A5CE38
secondary
#453179
accent
#44E470
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CE38

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

Preview Lab → · Contrast checker → · Palette generator →

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