#ACCF40#ACCF40

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

Color values

HEX#ACCF40
RGBrgb(172, 207, 64)
HSLhsl(75, 60%, 53%)
HSVhsv(75, 69%, 81%)
CMYKcmyk(16.9%, 0%, 69.1%, 18.8%)
CIE-LABlab(78.33, -31.10, 63.88)
CIE-LCHlch(78.33, 71.04, 115.96°)
OKLaboklab(80.25% -0.0906 0.1435)
OKLCHoklch(80.25% 0.17 122.3)
XYZxyz(40.2520, 53.7664, 13.1069)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCF40 #6340CF
analogous
#CFAA40 #ACCF40 #64CF40
triadic
#ACCF40 #40ACCF #CF40AC
tetradic
#ACCF40 #40CFAA #6340CF #CF4064
square
#ACCF40 #40CFAA #6340CF #CF4064
split-complementary
#ACCF40 #4064CF #AA40CF
monochromatic
#61771E #89A82A #ACCF40 #C1DB71 #D7E8A2

Accessibility & contrast

On white

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

On black

11.75
#ACCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCF40
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCF40#FFFFFF#000000##000000
##ACCF401.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #accf40;
/* rgb */ color: rgb(172, 207, 64);
/* oklch */ color: oklch(80.3% 0.170 122.3);
Tailwind
colors: {
  custom: {
    50: '#c8dd7d',
    500: '#accf40',
    950: '#000000',
  },
}
SCSS
$custom: #accf40;
$custom-light: #c8dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#accf40",
  "rgb": {
    "r": 172,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 74.685,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80253,
    "c": 0.16973,
    "h": 122.3
  },
  "luminance": 0.53766
}

Semantic roles & 50–950 ramp

primary
#ACCF40
secondary
#46347F
accent
#45E36C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ACCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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