#ACC831#ACC831

#ACC831 is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.6% C 0.170 H 119.9°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#ACC831
RGBrgb(172, 200, 49)
HSLhsl(71, 61%, 49%)
HSVhsv(71, 76%, 78%)
CMYKcmyk(14%, 0%, 75.5%, 21.6%)
CIE-LABlab(76.25, -28.58, 67.05)
CIE-LCHlch(76.25, 72.89, 113.09°)
OKLaboklab(78.55% -0.085 0.1478)
OKLCHoklch(78.55% 0.17 119.9)
XYZxyz(38.2227, 50.3011, 10.6006)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC831 #4D31C8
analogous
#C89931 #ACC831 #61C831
triadic
#ACC831 #31ACC8 #C831AC
tetradic
#ACC831 #31C899 #4D31C8 #C83161
square
#ACC831 #31C899 #4D31C8 #C83161
split-complementary
#ACC831 #3161C8 #9931C8
monochromatic
#576619 #829725 #ACC831 #C1D85F #D4E490

Accessibility & contrast

On white

1.90
#ACC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#ACC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC831
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC831#FFFFFF#000000##000000
##ACC8311.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC0A
Deuteranopia (green-blind)
#D2BC3F
Tritanopia (blue-blind)
#B6BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #acc831;
/* rgb */ color: rgb(172, 200, 49);
/* oklch */ color: oklch(78.6% 0.170 119.9);
Tailwind
colors: {
  custom: {
    50: '#c8d875',
    500: '#acc831',
    950: '#000000',
  },
}
SCSS
$custom: #acc831;
$custom-light: #c8d875;
$custom-dark: #000000;
JSON
{
  "hex": "#acc831",
  "rgb": {
    "r": 172,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 71.126,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78554,
    "c": 0.17047,
    "h": 119.9
  },
  "luminance": 0.50301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ACC831

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

Preview Lab → · Contrast checker → · Palette generator →

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