#ACC951#ACC951

#ACC951 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.0% C 0.150 H 121.4°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#ACC951
RGBrgb(172, 201, 81)
HSLhsl(75, 53%, 55%)
HSVhsv(75, 60%, 79%)
CMYKcmyk(14.4%, 0%, 59.7%, 21.2%)
CIE-LABlab(76.76, -27.07, 55.33)
CIE-LCHlch(76.76, 61.60, 116.07°)
OKLaboklab(79.04% -0.0779 0.1278)
OKLCHoklch(79.04% 0.15 121.4)
XYZxyz(39.3855, 51.1380, 15.5787)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC951 #6E51C9
analogous
#C9AA51 #ACC951 #70C951
triadic
#ACC951 #51ACC9 #C951AC
tetradic
#ACC951 #51C9AA #6E51C9 #C95170
square
#ACC951 #51C9AA #6E51C9 #C95170
split-complementary
#ACC951 #5170C9 #AA51C9
monochromatic
#657A26 #8CA934 #ACC951 #C2D780 #D9E6AE

Accessibility & contrast

On white

1.87
#ACC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#ACC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC951
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC951#FFFFFF#000000##000000
##ACC9511.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#B4BFAF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acc951;
/* rgb */ color: rgb(172, 201, 81);
/* oklch */ color: oklch(79.0% 0.150 121.4);
Tailwind
colors: {
  custom: {
    50: '#c7d986',
    500: '#acc951',
    950: '#000000',
  },
}
SCSS
$custom: #acc951;
$custom-light: #c7d986;
$custom-dark: #000000;
JSON
{
  "hex": "#acc951",
  "rgb": {
    "r": 172,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 74.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79036,
    "c": 0.14966,
    "h": 121.4
  },
  "luminance": 0.51138
}

Semantic roles & 50–950 ramp

primary
#ACC951
secondary
#4D3C82
accent
#4CDC6F
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #ACC951

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

Preview Lab → · Contrast checker → · Palette generator →

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