#ACC142#ACC142

#ACC142 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.152 H 118.2°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#ACC142
RGBrgb(172, 193, 66)
HSLhsl(70, 51%, 51%)
HSVhsv(70, 66%, 76%)
CMYKcmyk(10.9%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.38, -24.28, 59.07)
CIE-LCHlch(74.38, 63.87, 112.35°)
OKLaboklab(77.08% -0.0716 0.1337)
OKLCHoklch(77.08% 0.152 118.2)
XYZxyz(37.0673, 47.3043, 12.3311)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC142 #5742C1
analogous
#C19642 #ACC142 #6CC142
triadic
#ACC142 #42ACC1 #C142AC
tetradic
#ACC142 #42C196 #5742C1 #C1426C
square
#ACC142 #42C196 #5742C1 #C1426C
split-complementary
#ACC142 #426CC1 #9642C1
monochromatic
#5B6722 #849531 #ACC142 #C0D070 #D4DF9E

Accessibility & contrast

On white

2.01
#ACC142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#ACC142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC142
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC142#FFFFFF#000000##000000
##ACC1421.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB730
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#B6B7A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc142;
/* rgb */ color: rgb(172, 193, 66);
/* oklch */ color: oklch(77.1% 0.152 118.2);
Tailwind
colors: {
  custom: {
    50: '#c8d37d',
    500: '#acc142',
    950: '#000000',
  },
}
SCSS
$custom: #acc142;
$custom-light: #c8d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#acc142",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 69.921,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77083,
    "c": 0.15165,
    "h": 118.2
  },
  "luminance": 0.47304
}

Semantic roles & 50–950 ramp

primary
#ACC142
secondary
#9D93CC
accent
#4EDA65
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC142

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

Preview Lab → · Contrast checker → · Palette generator →

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