#ACCB2B#ACCB2B

#ACCB2B is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.2% C 0.177 H 120.6°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#ACCB2B
RGBrgb(172, 203, 43)
HSLhsl(72, 65%, 48%)
HSVhsv(72, 79%, 80%)
CMYKcmyk(15.3%, 0%, 78.8%, 20.4%)
CIE-LABlab(77.08, -30.26, 69.61)
CIE-LCHlch(77.08, 75.90, 113.49°)
OKLaboklab(79.21% -0.09 0.1522)
OKLCHoklch(79.21% 0.177 120.6)
XYZxyz(38.8060, 51.6570, 10.2115)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCB2B #4A2BCB
analogous
#CB9A2B #ACCB2B #5CCB2B
triadic
#ACCB2B #2BACCB #CB2BAC
tetradic
#ACCB2B #2BCB9A #4A2BCB #CB2B5C
square
#ACCB2B #2BCB9A #4A2BCB #CB2B5C
split-complementary
#ACCB2B #2B5CCB #9A2BCB
monochromatic
#566616 #819820 #ACCB2B #C2DC58 #D4E68A

Accessibility & contrast

On white

1.85
#ACCB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#ACCB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCB2B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCB2B#FFFFFF#000000##000000
##ACCB2B1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D4BF3B
Tritanopia (blue-blind)
#B6C0AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #accb2b;
/* rgb */ color: rgb(172, 203, 43);
/* oklch */ color: oklch(79.2% 0.177 120.6);
Tailwind
colors: {
  custom: {
    50: '#c9da73',
    500: '#accb2b',
    950: '#000000',
  },
}
SCSS
$custom: #accb2b;
$custom-light: #c9da73;
$custom-dark: #000000;
JSON
{
  "hex": "#accb2b",
  "rgb": {
    "r": 172,
    "g": 203,
    "b": 43
  },
  "hsl": {
    "h": 71.625,
    "s": 65.041,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79207,
    "c": 0.17683,
    "h": 120.6
  },
  "luminance": 0.51657
}

Semantic roles & 50–950 ramp

primary
#ACCB2B
secondary
#382A70
accent
#40E860
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ACCB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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