#ACC841#ACC841

#ACC841 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.7% C 0.161 H 120.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#ACC841
RGBrgb(172, 200, 65)
HSLhsl(72, 55%, 52%)
HSVhsv(72, 68%, 78%)
CMYKcmyk(14%, 0%, 67.5%, 21.6%)
CIE-LABlab(76.35, -27.72, 61.49)
CIE-LCHlch(76.35, 67.45, 114.27°)
OKLaboklab(78.66% -0.0812 0.1386)
OKLCHoklch(78.66% 0.161 120.4)
XYZxyz(38.6223, 50.4610, 12.7053)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC841 #5D41C8
analogous
#C8A041 #ACC841 #69C841
triadic
#ACC841 #41ACC8 #C841AC
tetradic
#ACC841 #41C8A0 #5D41C8 #C84169
square
#ACC841 #41C8A0 #5D41C8 #C84169
split-complementary
#ACC841 #4169C8 #A041C8
monochromatic
#5E6F20 #879E2E #ACC841 #C1D670 #D5E3A0

Accessibility & contrast

On white

1.89
#ACC841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#ACC841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC841
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC841#FFFFFF#000000##000000
##ACC8411.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2D
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#B5BEAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #acc841;
/* rgb */ color: rgb(172, 200, 65);
/* oklch */ color: oklch(78.7% 0.161 120.4);
Tailwind
colors: {
  custom: {
    50: '#c8d87d',
    500: '#acc841',
    950: '#000000',
  },
}
SCSS
$custom: #acc841;
$custom-light: #c8d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#acc841",
  "rgb": {
    "r": 172,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 72.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78664,
    "c": 0.16069,
    "h": 120.4
  },
  "luminance": 0.50461
}

Semantic roles & 50–950 ramp

primary
#ACC841
secondary
#433578
accent
#49DE68
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #ACC841

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

Preview Lab → · Contrast checker → · Palette generator →

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