#ACC042#ACC042

#ACC042 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.150 H 117.8°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#ACC042
RGBrgb(172, 192, 66)
HSLhsl(70, 50%, 51%)
HSVhsv(70, 66%, 75%)
CMYKcmyk(10.4%, 0%, 65.6%, 24.7%)
CIE-LABlab(74.10, -23.79, 58.78)
CIE-LCHlch(74.10, 63.41, 112.04°)
OKLaboklab(76.86% -0.0702 0.1331)
OKLCHoklch(76.86% 0.15 117.8)
XYZxyz(36.8470, 46.8636, 12.2577)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC042 #5642C0
analogous
#C09542 #ACC042 #6DC042
triadic
#ACC042 #42ACC0 #C042AC
tetradic
#ACC042 #42C095 #5642C0 #C0426D
square
#ACC042 #42C095 #5642C0 #C0426D
split-complementary
#ACC042 #426DC0 #9542C0
monochromatic
#5B6622 #849431 #ACC042 #C0CF70 #D4DF9E

Accessibility & contrast

On white

2.02
#ACC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#ACC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC042
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC042#FFFFFF#000000##000000
##ACC0421.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#B6B6A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc042;
/* rgb */ color: rgb(172, 192, 66);
/* oklch */ color: oklch(76.9% 0.150 117.8);
Tailwind
colors: {
  custom: {
    50: '#c8d37d',
    500: '#acc042',
    950: '#000000',
  },
}
SCSS
$custom: #acc042;
$custom-light: #c8d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#acc042",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 69.524,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76857,
    "c": 0.15046,
    "h": 117.8
  },
  "luminance": 0.46863
}

Semantic roles & 50–950 ramp

primary
#ACC042
secondary
#9C93CB
accent
#4EDA64
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC042

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

Preview Lab → · Contrast checker → · Palette generator →

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