#ACC04F#ACC04F

#ACC04F is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 77.0% C 0.140 H 118.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#ACC04F
RGBrgb(172, 192, 79)
HSLhsl(71, 47%, 53%)
HSVhsv(71, 59%, 75%)
CMYKcmyk(10.4%, 0%, 58.9%, 24.7%)
CIE-LABlab(74.21, -22.86, 53.38)
CIE-LCHlch(74.21, 58.07, 113.18°)
OKLaboklab(76.98% -0.0663 0.1234)
OKLCHoklch(76.98% 0.14 118.3)
XYZxyz(37.2748, 47.0347, 14.5106)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC04F #634FC0
analogous
#C09B4F #ACC04F #74C04F
triadic
#ACC04F #4FACC0 #C04FAC
tetradic
#ACC04F #4FC09B #634FC0 #C04F74
square
#ACC04F #4FC09B #634FC0 #C04F74
split-complementary
#ACC04F #4F74C0 #9B4FC0
monochromatic
#616D27 #899A37 #ACC04F #C1D07C #D7E0A9

Accessibility & contrast

On white

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

On black

10.41
#ACC04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC04F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC04F#FFFFFF#000000##000000
##ACC04F1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB642
Deuteranopia (green-blind)
#CAB756
Tritanopia (blue-blind)
#B5B6A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc04f;
/* rgb */ color: rgb(172, 192, 79);
/* oklch */ color: oklch(77.0% 0.140 118.3);
Tailwind
colors: {
  custom: {
    50: '#c7d385',
    500: '#acc04f',
    950: '#000000',
  },
}
SCSS
$custom: #acc04f;
$custom-light: #c7d385;
$custom-dark: #000000;
JSON
{
  "hex": "#acc04f",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 70.619,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7698,
    "c": 0.14008,
    "h": 118.3
  },
  "luminance": 0.47034
}

Semantic roles & 50–950 ramp

primary
#ACC04F
secondary
#A69DCE
accent
#51D769
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #ACC04F

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

Preview Lab → · Contrast checker → · Palette generator →

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