#ACCA38#ACCA38

#ACCA38 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.1% C 0.169 H 120.7°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#ACCA38
RGBrgb(172, 202, 56)
HSLhsl(72, 58%, 51%)
HSVhsv(72, 72%, 79%)
CMYKcmyk(14.9%, 0%, 72.3%, 20.8%)
CIE-LABlab(76.86, -29.19, 65.30)
CIE-LCHlch(76.86, 71.53, 114.08°)
OKLaboklab(79.05% -0.0861 0.1452)
OKLCHoklch(79.05% 0.169 120.7)
XYZxyz(38.8483, 51.2973, 11.5954)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCA38 #5638CA
analogous
#CA9F38 #ACCA38 #63CA38
triadic
#ACCA38 #38ACCA #CA38AC
tetradic
#ACCA38 #38CA9F #5638CA #CA3863
square
#ACCA38 #38CA9F #5638CA #CA3863
split-complementary
#ACCA38 #3863CA #9F38CA
monochromatic
#5B6B1D #849B29 #ACCA38 #C0D768 #D4E499

Accessibility & contrast

On white

1.87
#ACCA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#ACCA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCA38
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCA38#FFFFFF#000000##000000
##ACCA381.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1C
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#B6BFAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #acca38;
/* rgb */ color: rgb(172, 202, 56);
/* oklch */ color: oklch(79.1% 0.169 120.7);
Tailwind
colors: {
  custom: {
    50: '#c8da78',
    500: '#acca38',
    950: '#000000',
  },
}
SCSS
$custom: #acca38;
$custom-light: #c8da78;
$custom-dark: #000000;
JSON
{
  "hex": "#acca38",
  "rgb": {
    "r": 172,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 72.329,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79054,
    "c": 0.16884,
    "h": 120.7
  },
  "luminance": 0.51297
}

Semantic roles & 50–950 ramp

primary
#ACCA38
secondary
#3F3175
accent
#47E166
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #ACCA38

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

Preview Lab → · Contrast checker → · Palette generator →

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