#A8CF42#A8CF42

#A8CF42 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.0% C 0.170 H 123.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#A8CF42
RGBrgb(168, 207, 66)
HSLhsl(77, 59%, 54%)
HSVhsv(77, 68%, 81%)
CMYKcmyk(18.8%, 0%, 68.1%, 18.8%)
CIE-LABlab(78.08, -32.55, 62.79)
CIE-LCHlch(78.08, 70.73, 117.40°)
OKLaboklab(79.99% -0.0943 0.1416)
OKLCHoklch(79.99% 0.17 123.7)
XYZxyz(39.4450, 53.3436, 13.3715)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CF42 #6942CF
analogous
#CFB042 #A8CF42 #61CF42
triadic
#A8CF42 #42A8CF #CF42A8
tetradic
#A8CF42 #42CFB0 #6942CF #CF4261
square
#A8CF42 #42CFB0 #6942CF #CF4261
split-complementary
#A8CF42 #4261CF #B042CF
monochromatic
#5F781F #86A92B #A8CF42 #BEDB73 #D5E8A4

Accessibility & contrast

On white

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

On black

11.67
#A8CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CF42
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CF42#FFFFFF#000000##000000
##A8CF421.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22D
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#B0C5B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a8cf42;
/* rgb */ color: rgb(168, 207, 66);
/* oklch */ color: oklch(80.0% 0.170 123.7);
Tailwind
colors: {
  custom: {
    50: '#c5dd7e',
    500: '#a8cf42',
    950: '#000000',
  },
}
SCSS
$custom: #a8cf42;
$custom-light: #c5dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cf42",
  "rgb": {
    "r": 168,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 76.596,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7999,
    "c": 0.1701,
    "h": 123.7
  },
  "luminance": 0.53344
}

Semantic roles & 50–950 ramp

primary
#A8CF42
secondary
#4A3580
accent
#45E371
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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