#A5CA38#A5CA38

#A5CA38 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.6% C 0.172 H 122.9°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#A5CA38
RGBrgb(165, 202, 56)
HSLhsl(75, 58%, 51%)
HSVhsv(75, 72%, 79%)
CMYKcmyk(18.3%, 0%, 72.3%, 20.8%)
CIE-LABlab(76.39, -32.00, 64.69)
CIE-LCHlch(76.39, 72.17, 116.32°)
OKLaboklab(78.56% -0.0934 0.1441)
OKLCHoklch(78.56% 0.172 122.9)
XYZxyz(37.3519, 50.5257, 11.5253)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CA38 #5D38CA
analogous
#CAA638 #A5CA38 #5CCA38
triadic
#A5CA38 #38A5CA #CA38A5
tetradic
#A5CA38 #38CAA6 #5D38CA #CA385C
square
#A5CA38 #38CAA6 #5D38CA #CA385C
split-complementary
#A5CA38 #385CCA #A638CA
monochromatic
#576B1D #7F9B29 #A5CA38 #BBD768 #D1E499

Accessibility & contrast

On white

1.89
#A5CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#A5CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CA38
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CA38#FFFFFF#000000##000000
##A5CA381.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1C
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#ADC0AE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a5ca38;
/* rgb */ color: rgb(165, 202, 56);
/* oklch */ color: oklch(78.6% 0.172 122.9);
Tailwind
colors: {
  custom: {
    50: '#c3da78',
    500: '#a5ca38',
    950: '#000000',
  },
}
SCSS
$custom: #a5ca38;
$custom-light: #c3da78;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ca38",
  "rgb": {
    "r": 165,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 75.205,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78557,
    "c": 0.17176,
    "h": 122.9
  },
  "luminance": 0.50526
}

Semantic roles & 50–950 ramp

primary
#A5CA38
secondary
#423175
accent
#47E16E
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#13140A
muted
#82837D

Preview Lab

Preview with #A5CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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