#A8CB3A#A8CB3A

#A8CB3A is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.0% C 0.170 H 122.3°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#A8CB3A
RGBrgb(168, 203, 58)
HSLhsl(74, 58%, 51%)
HSVhsv(74, 71%, 80%)
CMYKcmyk(17.2%, 0%, 71.4%, 20.4%)
CIE-LABlab(76.89, -31.16, 64.54)
CIE-LCHlch(76.89, 71.67, 115.77°)
OKLaboklab(79.01% -0.0911 0.1441)
OKLCHoklch(79.01% 0.17 122.3)
XYZxyz(38.2686, 51.3421, 11.8961)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CB3A #5D3ACB
analogous
#CBA53A #A8CB3A #5FCB3A
triadic
#A8CB3A #3AA8CB #CB3AA8
tetradic
#A8CB3A #3ACBA5 #5D3ACB #CB3A5F
square
#A8CB3A #3ACBA5 #5D3ACB #CB3A5F
split-complementary
#A8CB3A #3A5FCB #A53ACB
monochromatic
#5A6E1D #829E2A #A8CB3A #BDD86A #D3E59B

Accessibility & contrast

On white

1.86
#A8CB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#A8CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CB3A
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CB3A#FFFFFF#000000##000000
##A8CB3A1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF20
Deuteranopia (green-blind)
#D3BE46
Tritanopia (blue-blind)
#B1C1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a8cb3a;
/* rgb */ color: rgb(168, 203, 58);
/* oklch */ color: oklch(79.0% 0.170 122.3);
Tailwind
colors: {
  custom: {
    50: '#c5db7a',
    500: '#a8cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #a8cb3a;
$custom-light: #c5db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cb3a",
  "rgb": {
    "r": 168,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 74.483,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79011,
    "c": 0.17045,
    "h": 122.3
  },
  "luminance": 0.51342
}

Semantic roles & 50–950 ramp

primary
#A8CB3A
secondary
#433277
accent
#46E16C
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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