#ACC120#ACC120

#ACC120 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.9% C 0.170 H 117.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#ACC120
RGBrgb(172, 193, 32)
HSLhsl(68, 72%, 44%)
HSVhsv(68, 83%, 76%)
CMYKcmyk(10.9%, 0%, 83.4%, 24.3%)
CIE-LABlab(74.20, -25.88, 69.95)
CIE-LCHlch(74.20, 74.58, 110.30°)
OKLaboklab(76.88% -0.0788 0.1511)
OKLCHoklch(76.88% 0.17 117.5)
XYZxyz(36.3449, 47.0153, 8.5264)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC120 #3520C1
analogous
#C18620 #ACC120 #5CC120
triadic
#ACC120 #20ACC1 #C120AC
tetradic
#ACC120 #20C186 #3520C1 #C1205C
square
#ACC120 #20C186 #3520C1 #C1205C
split-complementary
#ACC120 #205CC1 #8620C1
monochromatic
#4E580F #7D8D17 #ACC120 #CADF3F #D9E874

Accessibility & contrast

On white

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

On black

10.40
#ACC120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC120
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC120#FFFFFF#000000##000000
##ACC1201.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CDB732
Tritanopia (blue-blind)
#B7B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc120;
/* rgb */ color: rgb(172, 193, 32);
/* oklch */ color: oklch(76.9% 0.170 117.5);
Tailwind
colors: {
  custom: {
    50: '#c9d36d',
    500: '#acc120',
    950: '#000000',
  },
}
SCSS
$custom: #acc120;
$custom-light: #c9d36d;
$custom-dark: #000000;
JSON
{
  "hex": "#acc120",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 32
  },
  "hsl": {
    "h": 67.826,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76876,
    "c": 0.17041,
    "h": 117.5
  },
  "luminance": 0.47015
}

Semantic roles & 50–950 ramp

primary
#ACC120
secondary
#7B6ECF
accent
#3AEE51
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #ACC120

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

Preview Lab → · Contrast checker → · Palette generator →

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