#ACCB52#ACCB52

#ACCB52 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.5% C 0.151 H 122.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#ACCB52
RGBrgb(172, 203, 82)
HSLhsl(75, 54%, 56%)
HSVhsv(75, 60%, 80%)
CMYKcmyk(15.3%, 0%, 59.6%, 20.4%)
CIE-LABlab(77.34, -27.95, 55.53)
CIE-LCHlch(77.34, 62.17, 116.72°)
OKLaboklab(79.5% -0.0803 0.1283)
OKLCHoklch(79.5% 0.151 122)
XYZxyz(39.8926, 52.0917, 15.9341)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCB52 #7152CB
analogous
#CBAD52 #ACCB52 #6FCB52
triadic
#ACCB52 #52ACCB #CB52AC
tetradic
#ACCB52 #52CBAD #7152CB #CB526F
square
#ACCB52 #52CBAD #7152CB #CB526F
split-complementary
#ACCB52 #526FCB #AD52CB
monochromatic
#677D26 #8DAC34 #ACCB52 #C3D981 #D9E7B0

Accessibility & contrast

On white

1.84
#ACCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#ACCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCB52
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCB52#FFFFFF#000000##000000
##ACCB521.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C044
Deuteranopia (green-blind)
#D2BF5A
Tritanopia (blue-blind)
#B4C1B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #accb52;
/* rgb */ color: rgb(172, 203, 82);
/* oklch */ color: oklch(79.5% 0.151 122.0);
Tailwind
colors: {
  custom: {
    50: '#c7da87',
    500: '#accb52',
    950: '#000000',
  },
}
SCSS
$custom: #accb52;
$custom-light: #c7da87;
$custom-dark: #000000;
JSON
{
  "hex": "#accb52",
  "rgb": {
    "r": 172,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 75.372,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.795,
    "c": 0.15135,
    "h": 122
  },
  "luminance": 0.52092
}

Semantic roles & 50–950 ramp

primary
#ACCB52
secondary
#4F3C85
accent
#4BDD70
background
#FEFEFC
surface
#FAFBF3
border
#D3D4CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #ACCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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