#ACC02F#ACC02F

#ACC02F is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.7% C 0.163 H 117.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#ACC02F
RGBrgb(172, 192, 47)
HSLhsl(68, 61%, 47%)
HSVhsv(68, 76%, 75%)
CMYKcmyk(10.4%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.98, -24.83, 65.57)
CIE-LCHlch(73.98, 70.11, 110.74°)
OKLaboklab(76.72% -0.0748 0.1443)
OKLCHoklch(76.72% 0.163 117.4)
XYZxyz(36.3769, 46.6756, 9.7817)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC02F #432FC0
analogous
#C08C2F #ACC02F #64C02F
triadic
#ACC02F #2FACC0 #C02FAC
tetradic
#ACC02F #2FC08C #432FC0 #C02F64
square
#ACC02F #2FC08C #432FC0 #C02F64
split-complementary
#ACC02F #2F64C0 #8C2FC0
monochromatic
#545E17 #808F23 #ACC02F #C4D656 #D5E288

Accessibility & contrast

On white

2.03
#ACC02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#ACC02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC02F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC02F#FFFFFF#000000##000000
##ACC02F1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50A
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#B7B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc02f;
/* rgb */ color: rgb(172, 192, 47);
/* oklch */ color: oklch(76.7% 0.163 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d273',
    500: '#acc02f',
    950: '#000000',
  },
}
SCSS
$custom: #acc02f;
$custom-light: #c8d273;
$custom-dark: #000000;
JSON
{
  "hex": "#acc02f",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 68.276,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76722,
    "c": 0.16254,
    "h": 117.4
  },
  "luminance": 0.46675
}

Semantic roles & 50–950 ramp

primary
#ACC02F
secondary
#8A7FCB
accent
#44E45A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC02F

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

Preview Lab → · Contrast checker → · Palette generator →

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