#A8CB51#A8CB51

#A8CB51 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.2% C 0.154 H 123.4°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#A8CB51
RGBrgb(168, 203, 81)
HSLhsl(77, 54%, 56%)
HSVhsv(77, 60%, 80%)
CMYKcmyk(17.2%, 0%, 60.1%, 20.4%)
CIE-LABlab(77.06, -29.60, 55.58)
CIE-LCHlch(77.06, 62.98, 118.04°)
OKLaboklab(79.21% -0.0847 0.1284)
OKLCHoklch(79.21% 0.154 123.4)
XYZxyz(38.9899, 51.6306, 15.6946)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CB51 #7451CB
analogous
#CBB151 #A8CB51 #6BCB51
triadic
#A8CB51 #51A8CB #CB51A8
tetradic
#A8CB51 #51CBB1 #7451CB #CB516B
square
#A8CB51 #51CBB1 #7451CB #CB516B
split-complementary
#A8CB51 #516BCB #B151CB
monochromatic
#637C25 #89AC33 #A8CB51 #C0D980 #D7E7AF

Accessibility & contrast

On white

1.85
#A8CB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#A8CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CB51
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CB51#FFFFFF#000000##000000
##A8CB511.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#AFC2B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a8cb51;
/* rgb */ color: rgb(168, 203, 81);
/* oklch */ color: oklch(79.2% 0.154 123.4);
Tailwind
colors: {
  custom: {
    50: '#c4db86',
    500: '#a8cb51',
    950: '#000000',
  },
}
SCSS
$custom: #a8cb51;
$custom-light: #c4db86;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cb51",
  "rgb": {
    "r": 168,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 77.213,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79207,
    "c": 0.15382,
    "h": 123.4
  },
  "luminance": 0.51631
}

Semantic roles & 50–950 ramp

primary
#A8CB51
secondary
#513C84
accent
#4ADD75
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A8CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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