#A8CB40#A8CB40

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

Color values

HEX#A8CB40
RGBrgb(168, 203, 64)
HSLhsl(75, 57%, 52%)
HSVhsv(75, 68%, 80%)
CMYKcmyk(17.2%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.92, -30.81, 62.37)
CIE-LCHlch(76.92, 69.57, 116.29°)
OKLaboklab(79.05% -0.0896 0.1404)
OKLCHoklch(79.05% 0.167 122.5)
XYZxyz(38.4303, 51.4067, 12.7474)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CB40 #6340CB
analogous
#CBA940 #A8CB40 #62CB40
triadic
#A8CB40 #40A8CB #CB40A8
tetradic
#A8CB40 #40CBA9 #6340CB #CB4062
square
#A8CB40 #40CBA9 #6340CB #CB4062
split-complementary
#A8CB40 #4062CB #A940CB
monochromatic
#5D721F #84A22C #A8CB40 #BED870 #D4E5A0

Accessibility & contrast

On white

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

On black

11.28
#A8CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CB40
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CB40#FFFFFF#000000##000000
##A8CB401.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8cb40;
/* rgb */ color: rgb(168, 203, 64);
/* oklch */ color: oklch(79.1% 0.167 122.5);
Tailwind
colors: {
  custom: {
    50: '#c5db7d',
    500: '#a8cb40',
    950: '#000000',
  },
}
SCSS
$custom: #a8cb40;
$custom-light: #c5db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cb40",
  "rgb": {
    "r": 168,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 75.108,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79055,
    "c": 0.1666,
    "h": 122.5
  },
  "luminance": 0.51407
}

Semantic roles & 50–950 ramp

primary
#A8CB40
secondary
#46357B
accent
#47E06E
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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