#ACC431#ACC431

#ACC431 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.6% C 0.166 H 118.7°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#ACC431
RGBrgb(172, 196, 49)
HSLhsl(70, 60%, 48%)
HSVhsv(70, 75%, 77%)
CMYKcmyk(12.2%, 0%, 75%, 23.1%)
CIE-LABlab(75.12, -26.67, 65.99)
CIE-LCHlch(75.12, 71.18, 112.01°)
OKLaboklab(77.64% -0.0797 0.1455)
OKLCHoklch(77.64% 0.166 118.7)
XYZxyz(37.3084, 48.4726, 10.2959)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC431 #4931C4
analogous
#C49231 #ACC431 #62C431
triadic
#ACC431 #31ACC4 #C431AC
tetradic
#ACC431 #31C492 #4931C4 #C43162
square
#ACC431 #31C492 #4931C4 #C43162
split-complementary
#ACC431 #3162C4 #9231C4
monochromatic
#566219 #819325 #ACC431 #C2D65C #D5E28D

Accessibility & contrast

On white

1.96
#ACC431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#ACC431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC431
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC431#FFFFFF#000000##000000
##ACC4311.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90D
Deuteranopia (green-blind)
#CEBA3E
Tritanopia (blue-blind)
#B6B9A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #acc431;
/* rgb */ color: rgb(172, 196, 49);
/* oklch */ color: oklch(77.6% 0.166 118.7);
Tailwind
colors: {
  custom: {
    50: '#c8d574',
    500: '#acc431',
    950: '#000000',
  },
}
SCSS
$custom: #acc431;
$custom-light: #c8d574;
$custom-dark: #000000;
JSON
{
  "hex": "#acc431",
  "rgb": {
    "r": 172,
    "g": 196,
    "b": 49
  },
  "hsl": {
    "h": 69.796,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77642,
    "c": 0.16594,
    "h": 118.7
  },
  "luminance": 0.48472
}

Semantic roles & 50–950 ramp

primary
#ACC431
secondary
#9084CD
accent
#45E35F
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #ACC431

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

Preview Lab → · Contrast checker → · Palette generator →

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