#ACC742#ACC742

#ACC742 is a light, vivid yellow-green. Relative luminance 0.500; OKLCH L 78.4% C 0.159 H 120.1°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#ACC742
RGBrgb(172, 199, 66)
HSLhsl(72, 54%, 52%)
HSVhsv(72, 67%, 78%)
CMYKcmyk(13.6%, 0%, 66.8%, 22%)
CIE-LABlab(76.08, -27.18, 60.82)
CIE-LCHlch(76.08, 66.62, 114.08°)
OKLaboklab(78.44% -0.0796 0.1374)
OKLCHoklch(78.44% 0.159 120.1)
XYZxyz(38.4207, 50.0110, 12.7822)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC742 #5D42C7
analogous
#C79F42 #ACC742 #6AC742
triadic
#ACC742 #42ACC7 #C742AC
tetradic
#ACC742 #42C79F #5D42C7 #C7426A
square
#ACC742 #42C79F #5D42C7 #C7426A
split-complementary
#ACC742 #426AC7 #9F42C7
monochromatic
#5E6E21 #879D2F #ACC742 #C1D571 #D5E3A0

Accessibility & contrast

On white

1.91
#ACC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#ACC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC742
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC742#FFFFFF#000000##000000
##ACC7421.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#B5BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #acc742;
/* rgb */ color: rgb(172, 199, 66);
/* oklch */ color: oklch(78.4% 0.159 120.1);
Tailwind
colors: {
  custom: {
    50: '#c8d87d',
    500: '#acc742',
    950: '#000000',
  },
}
SCSS
$custom: #acc742;
$custom-light: #c8d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#acc742",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 72.18,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78444,
    "c": 0.15879,
    "h": 120.1
  },
  "luminance": 0.50011
}

Semantic roles & 50–950 ramp

primary
#ACC742
secondary
#433678
accent
#4ADE68
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #ACC742

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

Preview Lab → · Contrast checker → · Palette generator →

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