#ACCF42#ACCF42

#ACCF42 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.3% C 0.168 H 122.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#ACCF42
RGBrgb(172, 207, 66)
HSLhsl(75, 59%, 54%)
HSVhsv(75, 68%, 81%)
CMYKcmyk(16.9%, 0%, 68.1%, 18.8%)
CIE-LABlab(78.34, -30.97, 63.14)
CIE-LCHlch(78.34, 70.33, 116.13°)
OKLaboklab(80.27% -0.0901 0.1422)
OKLCHoklch(80.27% 0.168 122.4)
XYZxyz(40.3099, 53.7895, 13.4120)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCF42 #6542CF
analogous
#CFAC42 #ACCF42 #65CF42
triadic
#ACCF42 #42ACCF #CF42AC
tetradic
#ACCF42 #42CFAC #6542CF #CF4265
square
#ACCF42 #42CFAC #6542CF #CF4265
split-complementary
#ACCF42 #4265CF #AC42CF
monochromatic
#62781F #8AA92B #ACCF42 #C1DB73 #D7E8A4

Accessibility & contrast

On white

1.79
#ACCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#ACCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCF42
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCF42#FFFFFF#000000##000000
##ACCF421.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#B5C5B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #accf42;
/* rgb */ color: rgb(172, 207, 66);
/* oklch */ color: oklch(80.3% 0.168 122.4);
Tailwind
colors: {
  custom: {
    50: '#c8dd7e',
    500: '#accf42',
    950: '#000000',
  },
}
SCSS
$custom: #accf42;
$custom-light: #c8dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#accf42",
  "rgb": {
    "r": 172,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 74.894,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80268,
    "c": 0.1684,
    "h": 122.4
  },
  "luminance": 0.5379
}

Semantic roles & 50–950 ramp

primary
#ACCF42
secondary
#483580
accent
#45E36C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ACCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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