#ACC938#ACC938

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

Color values

HEX#ACC938
RGBrgb(172, 201, 56)
HSLhsl(72, 57%, 50%)
HSVhsv(72, 72%, 79%)
CMYKcmyk(14.4%, 0%, 72.1%, 21.2%)
CIE-LABlab(76.58, -28.72, 65.03)
CIE-LCHlch(76.58, 71.09, 113.83°)
OKLaboklab(78.83% -0.0848 0.1447)
OKLCHoklch(78.83% 0.168 120.4)
XYZxyz(38.6144, 50.8296, 11.5174)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC938 #5538C9
analogous
#C99D38 #ACC938 #63C938
triadic
#ACC938 #38ACC9 #C938AC
tetradic
#ACC938 #38C99D #5538C9 #C93863
square
#ACC938 #38C99D #5538C9 #C93863
split-complementary
#ACC938 #3863C9 #9D38C9
monochromatic
#5A6A1D #849A2A #ACC938 #C0D668 #D4E398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC938#FFFFFF#000000##000000
##ACC9381.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)
#D6BD1C
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#B6BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acc938;
/* rgb */ color: rgb(172, 201, 56);
/* oklch */ color: oklch(78.8% 0.168 120.4);
Tailwind
colors: {
  custom: {
    50: '#c8d978',
    500: '#acc938',
    950: '#000000',
  },
}
SCSS
$custom: #acc938;
$custom-light: #c8d978;
$custom-dark: #000000;
JSON
{
  "hex": "#acc938",
  "rgb": {
    "r": 172,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 72,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.16767,
    "h": 120.4
  },
  "luminance": 0.50829
}

Semantic roles & 50–950 ramp

primary
#ACC938
secondary
#3F3174
accent
#47E166
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #ACC938

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

Preview Lab → · Contrast checker → · Palette generator →

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