#A5C438#A5C438

#A5C438 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 77.2% C 0.165 H 121.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#A5C438
RGBrgb(165, 196, 56)
HSLhsl(73, 56%, 49%)
HSVhsv(73, 71%, 77%)
CMYKcmyk(15.8%, 0%, 71.4%, 23.1%)
CIE-LABlab(74.68, -29.18, 63.01)
CIE-LCHlch(74.68, 69.44, 114.85°)
OKLaboklab(77.17% -0.0857 0.1406)
OKLCHoklch(77.17% 0.165 121.4)
XYZxyz(35.9713, 47.7647, 11.0651)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C438 #5738C4
analogous
#C49D38 #A5C438 #5FC438
triadic
#A5C438 #38A5C4 #C438A5
tetradic
#A5C438 #38C49D #5738C4 #C4385F
square
#A5C438 #38C49D #5738C4 #C4385F
split-complementary
#A5C438 #385FC4 #9D38C4
monochromatic
#55651D #7D942A #A5C438 #BBD366 #D0E196

Accessibility & contrast

On white

1.99
#A5C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#A5C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C438
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C438#FFFFFF#000000##000000
##A5C4381.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#AEBAA9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #a5c438;
/* rgb */ color: rgb(165, 196, 56);
/* oklch */ color: oklch(77.2% 0.165 121.4);
Tailwind
colors: {
  custom: {
    50: '#c3d578',
    500: '#a5c438',
    950: '#000000',
  },
}
SCSS
$custom: #a5c438;
$custom-light: #c3d578;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c438",
  "rgb": {
    "r": 165,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 73.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77173,
    "c": 0.16464,
    "h": 121.4
  },
  "luminance": 0.47765
}

Semantic roles & 50–950 ramp

primary
#A5C438
secondary
#9A8CCC
accent
#49DF6A
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C438

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

Preview Lab → · Contrast checker → · Palette generator →

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