#ACC123#ACC123

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

Color values

HEX#ACC123
RGBrgb(172, 193, 35)
HSLhsl(68, 69%, 45%)
HSVhsv(68, 82%, 76%)
CMYKcmyk(10.9%, 0%, 81.9%, 24.3%)
CIE-LABlab(74.21, -25.78, 69.22)
CIE-LCHlch(74.21, 73.87, 110.43°)
OKLaboklab(76.89% -0.0783 0.15)
OKLCHoklch(76.89% 0.169 117.6)
XYZxyz(36.3875, 47.0323, 8.7510)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC123 #3823C1
analogous
#C18723 #ACC123 #5DC123
triadic
#ACC123 #23ACC1 #C123AC
tetradic
#ACC123 #23C187 #3823C1 #C1235D
square
#ACC123 #23C187 #3823C1 #C1235D
split-complementary
#ACC123 #235DC1 #8723C1
monochromatic
#505910 #7E8D1A #ACC123 #C9DD44 #D8E678

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC123#FFFFFF#000000##000000
##ACC1231.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)
#CFB600
Deuteranopia (green-blind)
#CCB734
Tritanopia (blue-blind)
#B7B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc123;
/* rgb */ color: rgb(172, 193, 35);
/* oklch */ color: oklch(76.9% 0.169 117.6);
Tailwind
colors: {
  custom: {
    50: '#c9d36e',
    500: '#acc123',
    950: '#000000',
  },
}
SCSS
$custom: #acc123;
$custom-light: #c9d36e;
$custom-dark: #000000;
JSON
{
  "hex": "#acc123",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 35
  },
  "hsl": {
    "h": 67.975,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.76888,
    "c": 0.16925,
    "h": 117.6
  },
  "luminance": 0.47032
}

Semantic roles & 50–950 ramp

primary
#ACC123
secondary
#7E72CE
accent
#3CEC53
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #ACC123

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

Preview Lab → · Contrast checker → · Palette generator →

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