#ACCB40#ACCB40

#ACCB40 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.3% C 0.165 H 121.2°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#ACCB40
RGBrgb(172, 203, 64)
HSLhsl(73, 57%, 52%)
HSVhsv(73, 68%, 80%)
CMYKcmyk(15.3%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.19, -29.21, 62.73)
CIE-LCHlch(77.19, 69.20, 114.97°)
OKLaboklab(79.34% -0.0854 0.1411)
OKLCHoklch(79.34% 0.165 121.2)
XYZxyz(39.2952, 51.8527, 12.7879)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCB40 #5F40CB
analogous
#CBA440 #ACCB40 #67CB40
triadic
#ACCB40 #40ACCB #CB40AC
tetradic
#ACCB40 #40CBA4 #5F40CB #CB4067
square
#ACCB40 #40CBA4 #5F40CB #CB4067
split-complementary
#ACCB40 #4067CB #A440CB
monochromatic
#5F721F #88A22C #ACCB40 #C1D870 #D6E5A0

Accessibility & contrast

On white

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

On black

11.37
#ACCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCB40
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCB40#FFFFFF#000000##000000
##ACCB401.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#B5C1AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #accb40;
/* rgb */ color: rgb(172, 203, 64);
/* oklch */ color: oklch(79.3% 0.165 121.2);
Tailwind
colors: {
  custom: {
    50: '#c8da7d',
    500: '#accb40',
    950: '#000000',
  },
}
SCSS
$custom: #accb40;
$custom-light: #c8da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#accb40",
  "rgb": {
    "r": 172,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 73.381,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79339,
    "c": 0.16495,
    "h": 121.2
  },
  "luminance": 0.51853
}

Semantic roles & 50–950 ramp

primary
#ACCB40
secondary
#44357B
accent
#47E069
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ACCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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