#A8CB42#A8CB42

#A8CB42 is a light, vivid yellow-green. Relative luminance 0.514; OKLCH L 79.1% C 0.165 H 122.6°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#A8CB42
RGBrgb(168, 203, 66)
HSLhsl(75, 57%, 53%)
HSVhsv(75, 67%, 80%)
CMYKcmyk(17.2%, 0%, 67.5%, 20.4%)
CIE-LABlab(76.94, -30.68, 61.62)
CIE-LCHlch(76.94, 68.84, 116.47°)
OKLaboklab(79.07% -0.0891 0.1392)
OKLCHoklch(79.07% 0.165 122.6)
XYZxyz(38.4882, 51.4299, 13.0525)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CB42 #6542CB
analogous
#CBA942 #A8CB42 #64CB42
triadic
#A8CB42 #42A8CB #CB42A8
tetradic
#A8CB42 #42CBA9 #6542CB #CB4264
square
#A8CB42 #42CBA9 #6542CB #CB4264
split-complementary
#A8CB42 #4264CB #A942CB
monochromatic
#5E7320 #85A32D #A8CB42 #BED872 #D4E5A2

Accessibility & contrast

On white

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

On black

11.29
#A8CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CB42
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CB42#FFFFFF#000000##000000
##A8CB421.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#B0C1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a8cb42;
/* rgb */ color: rgb(168, 203, 66);
/* oklch */ color: oklch(79.1% 0.165 122.6);
Tailwind
colors: {
  custom: {
    50: '#c5db7e',
    500: '#a8cb42',
    950: '#000000',
  },
}
SCSS
$custom: #a8cb42;
$custom-light: #c5db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cb42",
  "rgb": {
    "r": 168,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 75.328,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79071,
    "c": 0.16523,
    "h": 122.6
  },
  "luminance": 0.5143
}

Semantic roles & 50–950 ramp

primary
#A8CB42
secondary
#47357C
accent
#48E06F
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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