#ACC939#ACC939

#ACC939 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.8% C 0.167 H 120.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#ACC939
RGBrgb(172, 201, 57)
HSLhsl(72, 57%, 51%)
HSVhsv(72, 72%, 79%)
CMYKcmyk(14.4%, 0%, 71.6%, 21.2%)
CIE-LABlab(76.58, -28.66, 64.68)
CIE-LCHlch(76.58, 70.75, 113.90°)
OKLaboklab(78.83% -0.0845 0.1441)
OKLCHoklch(78.83% 0.167 120.4)
XYZxyz(38.6391, 50.8395, 11.6475)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC939 #5639C9
analogous
#C99E39 #ACC939 #64C939
triadic
#ACC939 #39ACC9 #C939AC
tetradic
#ACC939 #39C99E #5639C9 #C93964
square
#ACC939 #39C99E #5639C9 #C93964
split-complementary
#ACC939 #3964C9 #9E39C9
monochromatic
#5B6B1D #849B2A #ACC939 #C0D669 #D4E399

Accessibility & contrast

On white

1.88
#ACC939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#ACC939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC939
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC939#FFFFFF#000000##000000
##ACC9391.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1E
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#B6BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acc939;
/* rgb */ color: rgb(172, 201, 57);
/* oklch */ color: oklch(78.8% 0.167 120.4);
Tailwind
colors: {
  custom: {
    50: '#c8d979',
    500: '#acc939',
    950: '#000000',
  },
}
SCSS
$custom: #acc939;
$custom-light: #c8d979;
$custom-dark: #000000;
JSON
{
  "hex": "#acc939",
  "rgb": {
    "r": 172,
    "g": 201,
    "b": 57
  },
  "hsl": {
    "h": 72.083,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78833,
    "c": 0.16707,
    "h": 120.4
  },
  "luminance": 0.50839
}

Semantic roles & 50–950 ramp

primary
#ACC939
secondary
#3F3274
accent
#47E066
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #ACC939

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

Preview Lab → · Contrast checker → · Palette generator →

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