#ACC151#ACC151

#ACC151 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 77.2% C 0.140 H 118.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#ACC151
RGBrgb(172, 193, 81)
HSLhsl(71, 47%, 54%)
HSVhsv(71, 58%, 76%)
CMYKcmyk(10.9%, 0%, 58%, 24.3%)
CIE-LABlab(74.51, -23.19, 52.82)
CIE-LCHlch(74.51, 57.69, 113.70°)
OKLaboklab(77.23% -0.067 0.1224)
OKLCHoklch(77.23% 0.14 118.7)
XYZxyz(37.5690, 47.5049, 14.9732)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC151 #6651C1
analogous
#C19E51 #ACC151 #74C151
triadic
#ACC151 #51ACC1 #C151AC
tetradic
#ACC151 #51C19E #6651C1 #C15174
square
#ACC151 #51C19E #6651C1 #C15174
split-complementary
#ACC151 #5174C1 #9E51C1
monochromatic
#627028 #8A9D38 #ACC151 #C2D17E #D7E1AB

Accessibility & contrast

On white

2.00
#ACC151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#ACC151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC151
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC151#FFFFFF#000000##000000
##ACC1511.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB745
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#B5B7A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc151;
/* rgb */ color: rgb(172, 193, 81);
/* oklch */ color: oklch(77.2% 0.140 118.7);
Tailwind
colors: {
  custom: {
    50: '#c7d386',
    500: '#acc151',
    950: '#000000',
  },
}
SCSS
$custom: #acc151;
$custom-light: #c7d386;
$custom-dark: #000000;
JSON
{
  "hex": "#acc151",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 71.25,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77227,
    "c": 0.13959,
    "h": 118.7
  },
  "luminance": 0.47505
}

Semantic roles & 50–950 ramp

primary
#ACC151
secondary
#A89FCF
accent
#51D76A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #ACC151

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

Preview Lab → · Contrast checker → · Palette generator →

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