#ACC23B#ACC23B

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

Color values

HEX#ACC23B
RGBrgb(172, 194, 59)
HSLhsl(70, 53%, 50%)
HSVhsv(70, 70%, 76%)
CMYKcmyk(11.3%, 0%, 69.6%, 23.9%)
CIE-LABlab(74.62, -25.19, 62.02)
CIE-LCHlch(74.62, 66.94, 112.11°)
OKLaboklab(77.26% -0.0748 0.1388)
OKLCHoklch(77.26% 0.158 118.3)
XYZxyz(37.0952, 47.6703, 11.3839)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC23B #513BC2
analogous
#C2953B #ACC23B #68C23B
triadic
#ACC23B #3BACC2 #C23BAC
tetradic
#ACC23B #3BC295 #513BC2 #C23B68
square
#ACC23B #3BC295 #513BC2 #C23B68
split-complementary
#ACC23B #3B68C2 #953BC2
monochromatic
#59641E #82932D #ACC23B #C0D169 #D4E098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC23B#FFFFFF#000000##000000
##ACC23B1.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)
#CFB725
Deuteranopia (green-blind)
#CCB846
Tritanopia (blue-blind)
#B6B7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc23b;
/* rgb */ color: rgb(172, 194, 59);
/* oklch */ color: oklch(77.3% 0.158 118.3);
Tailwind
colors: {
  custom: {
    50: '#c8d479',
    500: '#acc23b',
    950: '#000000',
  },
}
SCSS
$custom: #acc23b;
$custom-light: #c8d479;
$custom-dark: #000000;
JSON
{
  "hex": "#acc23b",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 69.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77255,
    "c": 0.15767,
    "h": 118.3
  },
  "luminance": 0.4767
}

Semantic roles & 50–950 ramp

primary
#ACC23B
secondary
#988ECB
accent
#4BDD63
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC23B

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

Preview Lab → · Contrast checker → · Palette generator →

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