#ACC23A#ACC23A

#ACC23A is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.2% C 0.158 H 118.3°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#ACC23A
RGBrgb(172, 194, 58)
HSLhsl(70, 54%, 49%)
HSVhsv(70, 70%, 76%)
CMYKcmyk(11.3%, 0%, 70.1%, 23.9%)
CIE-LABlab(74.61, -25.25, 62.38)
CIE-LCHlch(74.61, 67.30, 112.04°)
OKLaboklab(77.25% -0.075 0.1394)
OKLCHoklch(77.25% 0.158 118.3)
XYZxyz(37.0695, 47.6600, 11.2486)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC23A #503AC2
analogous
#C2943A #ACC23A #68C23A
triadic
#ACC23A #3AACC2 #C23AAC
tetradic
#ACC23A #3AC294 #503AC2 #C23A68
square
#ACC23A #3AC294 #503AC2 #C23A68
split-complementary
#ACC23A #3A68C2 #943AC2
monochromatic
#58641E #82932C #ACC23A #C1D267 #D4E097

Accessibility & contrast

On white

1.99
#ACC23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#ACC23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC23A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC23A#FFFFFF#000000##000000
##ACC23A1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB723
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#B6B7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc23a;
/* rgb */ color: rgb(172, 194, 58);
/* oklch */ color: oklch(77.2% 0.158 118.3);
Tailwind
colors: {
  custom: {
    50: '#c8d479',
    500: '#acc23a',
    950: '#000000',
  },
}
SCSS
$custom: #acc23a;
$custom-light: #c8d479;
$custom-dark: #000000;
JSON
{
  "hex": "#acc23a",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 69.706,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77247,
    "c": 0.15831,
    "h": 118.3
  },
  "luminance": 0.4766
}

Semantic roles & 50–950 ramp

primary
#ACC23A
secondary
#978DCB
accent
#4ADD62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC23A

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

Preview Lab → · Contrast checker → · Palette generator →

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