#ACCC45#ACCC45

#ACCC45 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.6% C 0.163 H 121.7°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#ACCC45
RGBrgb(172, 204, 69)
HSLhsl(74, 57%, 54%)
HSVhsv(74, 66%, 80%)
CMYKcmyk(15.7%, 0%, 66.2%, 20%)
CIE-LABlab(77.51, -29.37, 61.13)
CIE-LCHlch(77.51, 67.82, 115.66°)
OKLaboklab(79.61% -0.0854 0.1385)
OKLCHoklch(79.61% 0.163 121.7)
XYZxyz(39.6808, 52.3860, 13.6501)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCC45 #6545CC
analogous
#CCA845 #ACCC45 #68CC45
triadic
#ACCC45 #45ACCC #CC45AC
tetradic
#ACCC45 #45CCA8 #6545CC #CC4568
square
#ACCC45 #45CCA8 #6545CC #CC4568
split-complementary
#ACCC45 #4568CC #A845CC
monochromatic
#627620 #8AA62E #ACCC45 #C1D975 #D7E6A5

Accessibility & contrast

On white

1.83
#ACCC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#ACCC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCC45
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCC45#FFFFFF#000000##000000
##ACCC451.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C032
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#B5C2B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #accc45;
/* rgb */ color: rgb(172, 204, 69);
/* oklch */ color: oklch(79.6% 0.163 121.7);
Tailwind
colors: {
  custom: {
    50: '#c8db80',
    500: '#accc45',
    950: '#000000',
  },
}
SCSS
$custom: #accc45;
$custom-light: #c8db80;
$custom-dark: #000000;
JSON
{
  "hex": "#accc45",
  "rgb": {
    "r": 172,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 74.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79607,
    "c": 0.16269,
    "h": 121.7
  },
  "luminance": 0.52386
}

Semantic roles & 50–950 ramp

primary
#ACCC45
secondary
#48367F
accent
#48E06C
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #ACCC45

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

Preview Lab → · Contrast checker → · Palette generator →

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