#A5C038#A5C038

#A5C038 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.3% C 0.160 H 120.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#A5C038
RGBrgb(165, 192, 56)
HSLhsl(72, 55%, 49%)
HSVhsv(72, 71%, 75%)
CMYKcmyk(14.1%, 0%, 70.8%, 24.7%)
CIE-LABlab(73.54, -27.27, 61.88)
CIE-LCHlch(73.54, 67.62, 113.78°)
OKLaboklab(76.25% -0.0804 0.1382)
OKLCHoklch(76.25% 0.16 120.2)
XYZxyz(35.0811, 45.9843, 10.7683)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C038 #5338C0
analogous
#C09738 #A5C038 #61C038
triadic
#A5C038 #38A5C0 #C038A5
tetradic
#A5C038 #38C097 #5338C0 #C03861
square
#A5C038 #38C097 #5338C0 #C03861
split-complementary
#A5C038 #3861C0 #9738C0
monochromatic
#54611C #7C912A #A5C038 #BCD264 #D0DF93

Accessibility & contrast

On white

2.06
#A5C038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#A5C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C038
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C038#FFFFFF#000000##000000
##A5C0381.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB520
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#AEB6A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a5c038;
/* rgb */ color: rgb(165, 192, 56);
/* oklch */ color: oklch(76.3% 0.160 120.2);
Tailwind
colors: {
  custom: {
    50: '#c3d377',
    500: '#a5c038',
    950: '#000000',
  },
}
SCSS
$custom: #a5c038;
$custom-light: #c3d377;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c038",
  "rgb": {
    "r": 165,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 71.912,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76253,
    "c": 0.15991,
    "h": 120.2
  },
  "luminance": 0.45984
}

Semantic roles & 50–950 ramp

primary
#A5C038
secondary
#9689CB
accent
#4ADE67
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A5C038

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

Preview Lab → · Contrast checker → · Palette generator →

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