#ACCC98#ACCC98

#ACCC98 is a light, moderate yellow-green. Relative luminance 0.542; OKLCH L 80.8% C 0.079 H 133.7°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#ACCC98
RGBrgb(172, 204, 152)
HSLhsl(97, 34%, 70%)
HSVhsv(97, 25%, 80%)
CMYKcmyk(15.7%, 0%, 25.5%, 20%)
CIE-LABlab(78.59, -20.14, 22.48)
CIE-LCHlch(78.59, 30.18, 131.85°)
OKLaboklab(80.83% -0.0544 0.057)
OKLCHoklch(80.83% 0.079 133.7)
XYZxyz(44.2725, 54.2227, 37.8332)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCC98 #B898CC
analogous
#C6CC98 #ACCC98 #98CC9E
triadic
#ACCC98 #98ACCC #CC98AC
tetradic
#ACCC98 #98C6CC #B898CC #CC9E98
square
#ACCC98 #98C6CC #B898CC #CC9E98
split-complementary
#ACCC98 #9E98CC #CC98C6
monochromatic
#6C9C4D #8BB86F #ACCC98 #CDE0C1 #EEF5EA

Accessibility & contrast

On white

1.77
#ACCC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#ACCC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCC98
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCC98#FFFFFF#000000##000000
##ACCC981.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C495
Deuteranopia (green-blind)
#CBC29A
Tritanopia (blue-blind)
#ADC8BE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #accc98;
/* rgb */ color: rgb(172, 204, 152);
/* oklch */ color: oklch(80.8% 0.079 133.7);
Tailwind
colors: {
  custom: {
    50: '#c5dbb6',
    500: '#accc98',
    950: '#000000',
  },
}
SCSS
$custom: #accc98;
$custom-light: #c5dbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#accc98",
  "rgb": {
    "r": 172,
    "g": 204,
    "b": 152
  },
  "hsl": {
    "h": 96.923,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.80826,
    "c": 0.07886,
    "h": 133.7
  },
  "luminance": 0.54223
}

Semantic roles & 50–950 ramp

primary
#ACCC98
secondary
#8B67A1
accent
#39AD80
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131511
muted
#828481

Preview Lab

Preview with #ACCC98

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

Preview Lab → · Contrast checker → · Palette generator →

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