#A8CF31#A8CF31

#A8CF31 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.9% C 0.180 H 123.0°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#A8CF31
RGBrgb(168, 207, 49)
HSLhsl(75, 62%, 50%)
HSVhsv(75, 76%, 81%)
CMYKcmyk(18.8%, 0%, 76.3%, 18.8%)
CIE-LABlab(77.98, -33.47, 68.56)
CIE-LCHlch(77.98, 76.30, 116.02°)
OKLaboklab(79.88% -0.0982 0.1511)
OKLCHoklch(79.88% 0.18 123)
XYZxyz(39.0162, 53.1720, 11.1129)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CF31 #5831CF
analogous
#CFA731 #A8CF31 #59CF31
triadic
#A8CF31 #31A8CF #CF31A8
tetradic
#A8CF31 #31CFA7 #5831CF #CF3159
square
#A8CF31 #31CFA7 #5831CF #CF3159
split-complementary
#A8CF31 #3159CF #A731CF
monochromatic
#586C19 #809E25 #A8CF31 #BDDB63 #D2E694

Accessibility & contrast

On white

1.80
#A8CF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#A8CF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CF31
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CF31#FFFFFF#000000##000000
##A8CF311.001.8011.6311.63
#FFFFFF1.801.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC203
Deuteranopia (green-blind)
#D6C140
Tritanopia (blue-blind)
#B1C4B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a8cf31;
/* rgb */ color: rgb(168, 207, 49);
/* oklch */ color: oklch(79.9% 0.180 123.0);
Tailwind
colors: {
  custom: {
    50: '#c6dd76',
    500: '#a8cf31',
    950: '#000000',
  },
}
SCSS
$custom: #a8cf31;
$custom-light: #c6dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cf31",
  "rgb": {
    "r": 168,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 74.81,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79876,
    "c": 0.18018,
    "h": 123
  },
  "luminance": 0.53172
}

Semantic roles & 50–950 ramp

primary
#A8CF31
secondary
#402E76
accent
#43E56B
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A8CF31

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

Preview Lab → · Contrast checker → · Palette generator →

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