#ACCF51#ACCF51

#ACCF51 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.4% C 0.157 H 123.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#ACCF51
RGBrgb(172, 207, 81)
HSLhsl(77, 57%, 56%)
HSVhsv(77, 61%, 81%)
CMYKcmyk(16.9%, 0%, 60.9%, 18.8%)
CIE-LABlab(78.46, -29.93, 57.20)
CIE-LCHlch(78.46, 64.55, 117.62°)
OKLaboklab(80.4% -0.0859 0.1317)
OKLCHoklch(80.4% 0.157 123.1)
XYZxyz(40.8116, 53.9902, 16.0541)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCF51 #7451CF
analogous
#CFB351 #ACCF51 #6DCF51
triadic
#ACCF51 #51ACCF #CF51AC
tetradic
#ACCF51 #51CFB3 #7451CF #CF516D
square
#ACCF51 #51CFB3 #7451CF #CF516D
split-complementary
#ACCF51 #516DCF #B351CF
monochromatic
#688224 #8EB231 #ACCF51 #C3DC81 #DAE9B1

Accessibility & contrast

On white

1.78
#ACCF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#ACCF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCF51
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCF51#FFFFFF#000000##000000
##ACCF511.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC342
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#B4C5B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #accf51;
/* rgb */ color: rgb(172, 207, 81);
/* oklch */ color: oklch(80.4% 0.157 123.1);
Tailwind
colors: {
  custom: {
    50: '#c7dd87',
    500: '#accf51',
    950: '#000000',
  },
}
SCSS
$custom: #accf51;
$custom-light: #c7dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#accf51",
  "rgb": {
    "r": 172,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 76.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.804,
    "c": 0.15725,
    "h": 123.1
  },
  "luminance": 0.5399
}

Semantic roles & 50–950 ramp

primary
#ACCF51
secondary
#513B89
accent
#48E072
background
#FEFEFC
surface
#FAFCF3
border
#D3D5CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #ACCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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