#A8CA31#A8CA31

#A8CA31 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.7% C 0.174 H 121.8°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#A8CA31
RGBrgb(168, 202, 49)
HSLhsl(73, 61%, 49%)
HSVhsv(73, 76%, 79%)
CMYKcmyk(16.8%, 0%, 75.7%, 20.8%)
CIE-LABlab(76.55, -31.15, 67.23)
CIE-LCHlch(76.55, 74.10, 114.86°)
OKLaboklab(78.72% -0.0918 0.1483)
OKLCHoklch(78.72% 0.174 121.8)
XYZxyz(37.8240, 50.7876, 10.7155)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CA31 #5331CA
analogous
#CAA031 #A8CA31 #5CCA31
triadic
#A8CA31 #31A8CA #CA31A8
tetradic
#A8CA31 #31CAA0 #5331CA #CA315C
square
#A8CA31 #31CAA0 #5331CA #CA315C
split-complementary
#A8CA31 #315CCA #A031CA
monochromatic
#566719 #7F9925 #A8CA31 #BED860 #D2E491

Accessibility & contrast

On white

1.88
#A8CA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#A8CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CA31
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CA31#FFFFFF#000000##000000
##A8CA311.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE08
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#B1BFAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a8ca31;
/* rgb */ color: rgb(168, 202, 49);
/* oklch */ color: oklch(78.7% 0.174 121.8);
Tailwind
colors: {
  custom: {
    50: '#c6da75',
    500: '#a8ca31',
    950: '#000000',
  },
}
SCSS
$custom: #a8ca31;
$custom-light: #c6da75;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ca31",
  "rgb": {
    "r": 168,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 73.333,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78724,
    "c": 0.1744,
    "h": 121.8
  },
  "luminance": 0.50788
}

Semantic roles & 50–950 ramp

primary
#A8CA31
secondary
#3D2E72
accent
#44E467
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131409
muted
#83837D

Preview Lab

Preview with #A8CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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