#ACC045#ACC045

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

Color values

HEX#ACC045
RGBrgb(172, 192, 69)
HSLhsl(70, 49%, 51%)
HSVhsv(70, 64%, 75%)
CMYKcmyk(10.4%, 0%, 64.1%, 24.7%)
CIE-LABlab(74.13, -23.59, 57.58)
CIE-LCHlch(74.13, 62.23, 112.28°)
OKLaboklab(76.88% -0.0694 0.131)
OKLCHoklch(76.88% 0.148 117.9)
XYZxyz(36.9378, 46.8999, 12.7358)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC045 #5945C0
analogous
#C09645 #ACC045 #6EC045
triadic
#ACC045 #45ACC0 #C045AC
tetradic
#ACC045 #45C096 #5945C0 #C0456E
square
#ACC045 #45C096 #5945C0 #C0456E
split-complementary
#ACC045 #456EC0 #9645C0
monochromatic
#5C6823 #859533 #ACC045 #C0CF73 #D5DFA0

Accessibility & contrast

On white

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

On black

10.38
#ACC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC045
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC045#FFFFFF#000000##000000
##ACC0451.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB635
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#B6B6A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc045;
/* rgb */ color: rgb(172, 192, 69);
/* oklch */ color: oklch(76.9% 0.148 117.9);
Tailwind
colors: {
  custom: {
    50: '#c7d37f',
    500: '#acc045',
    950: '#000000',
  },
}
SCSS
$custom: #acc045;
$custom-light: #c7d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#acc045",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 69.756,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76883,
    "c": 0.14822,
    "h": 117.9
  },
  "luminance": 0.469
}

Semantic roles & 50–950 ramp

primary
#ACC045
secondary
#9E95CC
accent
#4FD965
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC045

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

Preview Lab → · Contrast checker → · Palette generator →

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