#ACC931#ACC931

#ACC931 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.8% C 0.172 H 120.2°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#ACC931
RGBrgb(172, 201, 49)
HSLhsl(71, 61%, 49%)
HSVhsv(71, 76%, 79%)
CMYKcmyk(14.4%, 0%, 75.6%, 21.2%)
CIE-LABlab(76.54, -29.06, 67.32)
CIE-LCHlch(76.54, 73.32, 113.35°)
OKLaboklab(78.78% -0.0863 0.1483)
OKLCHoklch(78.78% 0.172 120.2)
XYZxyz(38.4550, 50.7658, 10.6781)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC931 #4E31C9
analogous
#C99A31 #ACC931 #60C931
triadic
#ACC931 #31ACC9 #C931AC
tetradic
#ACC931 #31C99A #4E31C9 #C93160
square
#ACC931 #31C99A #4E31C9 #C93160
split-complementary
#ACC931 #3160C9 #9A31C9
monochromatic
#586719 #829825 #ACC931 #C1D85F #D4E490

Accessibility & contrast

On white

1.88
#ACC931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#ACC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC931
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC931#FFFFFF#000000##000000
##ACC9311.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD09
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#B6BEAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acc931;
/* rgb */ color: rgb(172, 201, 49);
/* oklch */ color: oklch(78.8% 0.172 120.2);
Tailwind
colors: {
  custom: {
    50: '#c8d975',
    500: '#acc931',
    950: '#000000',
  },
}
SCSS
$custom: #acc931;
$custom-light: #c8d975;
$custom-dark: #000000;
JSON
{
  "hex": "#acc931",
  "rgb": {
    "r": 172,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 71.447,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78782,
    "c": 0.17161,
    "h": 120.2
  },
  "luminance": 0.50766
}

Semantic roles & 50–950 ramp

primary
#ACC931
secondary
#3A2D71
accent
#44E462
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ACC931

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

Preview Lab → · Contrast checker → · Palette generator →

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