#ACC251#ACC251

#ACC251 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.5% C 0.141 H 119.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#ACC251
RGBrgb(172, 194, 81)
HSLhsl(72, 48%, 54%)
HSVhsv(72, 58%, 76%)
CMYKcmyk(11.3%, 0%, 58.2%, 23.9%)
CIE-LABlab(74.79, -23.68, 53.14)
CIE-LCHlch(74.79, 58.18, 114.02°)
OKLaboklab(77.45% -0.0684 0.1231)
OKLCHoklch(77.45% 0.141 119.1)
XYZxyz(37.7908, 47.9485, 15.0471)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC251 #6751C2
analogous
#C2A051 #ACC251 #74C251
triadic
#ACC251 #51ACC2 #C251AC
tetradic
#ACC251 #51C2A0 #6751C2 #C25174
square
#ACC251 #51C2A0 #6751C2 #C25174
split-complementary
#ACC251 #5174C2 #A051C2
monochromatic
#637128 #8A9E37 #ACC251 #C2D27E #D7E2AC

Accessibility & contrast

On white

1.98
#ACC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#ACC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC251
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC251#FFFFFF#000000##000000
##ACC2511.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#CBB958
Tritanopia (blue-blind)
#B5B8AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc251;
/* rgb */ color: rgb(172, 194, 81);
/* oklch */ color: oklch(77.5% 0.141 119.1);
Tailwind
colors: {
  custom: {
    50: '#c7d486',
    500: '#acc251',
    950: '#000000',
  },
}
SCSS
$custom: #acc251;
$custom-light: #c7d486;
$custom-dark: #000000;
JSON
{
  "hex": "#acc251",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 71.681,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77452,
    "c": 0.14084,
    "h": 119.1
  },
  "luminance": 0.47948
}

Semantic roles & 50–950 ramp

primary
#ACC251
secondary
#A99FD0
accent
#50D86B
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140B
muted
#82837C

Preview Lab

Preview with #ACC251

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

Preview Lab → · Contrast checker → · Palette generator →

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