#ACC838#ACC838

#ACC838 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.6% C 0.167 H 120.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#ACC838
RGBrgb(172, 200, 56)
HSLhsl(72, 57%, 50%)
HSVhsv(72, 72%, 78%)
CMYKcmyk(14%, 0%, 72%, 21.6%)
CIE-LABlab(76.29, -28.24, 64.75)
CIE-LCHlch(76.29, 70.64, 113.56°)
OKLaboklab(78.6% -0.0835 0.1441)
OKLCHoklch(78.6% 0.167 120.1)
XYZxyz(38.3820, 50.3649, 11.4400)
Luminance0.5037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC838 #5438C8
analogous
#C89C38 #ACC838 #64C838
triadic
#ACC838 #38ACC8 #C838AC
tetradic
#ACC838 #38C89C #5438C8 #C83864
square
#ACC838 #38C89C #5438C8 #C83864
split-complementary
#ACC838 #3864C8 #9C38C8
monochromatic
#5A691D #83992A #ACC838 #C0D568 #D4E398

Accessibility & contrast

On white

1.90
#ACC838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#ACC838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC838
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC838#FFFFFF#000000##000000
##ACC8381.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC1D
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#B6BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #acc838;
/* rgb */ color: rgb(172, 200, 56);
/* oklch */ color: oklch(78.6% 0.167 120.1);
Tailwind
colors: {
  custom: {
    50: '#c8d878',
    500: '#acc838',
    950: '#000000',
  },
}
SCSS
$custom: #acc838;
$custom-light: #c8d878;
$custom-dark: #000000;
JSON
{
  "hex": "#acc838",
  "rgb": {
    "r": 172,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 71.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78598,
    "c": 0.16651,
    "h": 120.1
  },
  "luminance": 0.50365
}

Semantic roles & 50–950 ramp

primary
#ACC838
secondary
#3E3273
accent
#48E065
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #ACC838

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

Preview Lab → · Contrast checker → · Palette generator →

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