#ACCB42#ACCB42

#ACCB42 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.4% C 0.164 H 121.3°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#ACCB42
RGBrgb(172, 203, 66)
HSLhsl(74, 57%, 53%)
HSVhsv(74, 67%, 80%)
CMYKcmyk(15.3%, 0%, 67.5%, 20.4%)
CIE-LABlab(77.21, -29.09, 61.98)
CIE-LCHlch(77.21, 68.47, 115.14°)
OKLaboklab(79.36% -0.0849 0.1398)
OKLCHoklch(79.36% 0.164 121.3)
XYZxyz(39.3531, 51.8759, 13.0931)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCB42 #6142CB
analogous
#CBA642 #ACCB42 #67CB42
triadic
#ACCB42 #42ACCB #CB42AC
tetradic
#ACCB42 #42CBA6 #6142CB #CB4267
square
#ACCB42 #42CBA6 #6142CB #CB4267
split-complementary
#ACCB42 #4267CB #A642CB
monochromatic
#607320 #88A32D #ACCB42 #C1D872 #D6E5A2

Accessibility & contrast

On white

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

On black

11.38
#ACCB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCB42
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCB42#FFFFFF#000000##000000
##ACCB421.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #accb42;
/* rgb */ color: rgb(172, 203, 66);
/* oklch */ color: oklch(79.4% 0.164 121.3);
Tailwind
colors: {
  custom: {
    50: '#c8da7e',
    500: '#accb42',
    950: '#000000',
  },
}
SCSS
$custom: #accb42;
$custom-light: #c8da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#accb42",
  "rgb": {
    "r": 172,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 73.577,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79355,
    "c": 0.16359,
    "h": 121.3
  },
  "luminance": 0.51876
}

Semantic roles & 50–950 ramp

primary
#ACCB42
secondary
#45357C
accent
#48E06A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ACCB42

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

Preview Lab → · Contrast checker → · Palette generator →

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