#ACC172#ACC172

#ACC172 is a light, moderate yellow-green. Relative luminance 0.481; OKLCH L 77.7% C 0.106 H 121.1°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#ACC172
RGBrgb(172, 193, 114)
HSLhsl(76, 39%, 60%)
HSVhsv(76, 41%, 76%)
CMYKcmyk(10.9%, 0%, 40.9%, 24.3%)
CIE-LABlab(74.90, -19.90, 37.37)
CIE-LCHlch(74.90, 42.34, 118.04°)
OKLaboklab(77.67% -0.0549 0.0911)
OKLCHoklch(77.67% 0.106 121.1)
XYZxyz(39.1205, 48.1255, 23.1445)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC172 #8772C1
analogous
#C1AE72 #ACC172 #85C172
triadic
#ACC172 #72ACC1 #C172AC
tetradic
#ACC172 #72C1AE #8772C1 #C17285
square
#ACC172 #72C1AE #8772C1 #C17285
split-complementary
#ACC172 #7285C1 #AE72C1
monochromatic
#6D8038 #91AB4B #ACC172 #C5D49D #DEE6C7

Accessibility & contrast

On white

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

On black

10.63
#ACC172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC172
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC172#FFFFFF#000000##000000
##ACC1721.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96C
Deuteranopia (green-blind)
#C7B876
Tritanopia (blue-blind)
#B2BAAE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc172;
/* rgb */ color: rgb(172, 193, 114);
/* oklch */ color: oklch(77.7% 0.106 121.1);
Tailwind
colors: {
  custom: {
    50: '#c6d39c',
    500: '#acc172',
    950: '#000000',
  },
}
SCSS
$custom: #acc172;
$custom-light: #c6d39c;
$custom-dark: #000000;
JSON
{
  "hex": "#acc172",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 114
  },
  "hsl": {
    "h": 75.949,
    "s": 38.916,
    "l": 60.196
  },
  "oklch": {
    "l": 0.77669,
    "c": 0.10638,
    "h": 121.1
  },
  "luminance": 0.48125
}

Semantic roles & 50–950 ramp

primary
#ACC172
secondary
#C0B8D7
accent
#34B255
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #ACC172

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

Preview Lab → · Contrast checker → · Palette generator →

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