#ACC04B#ACC04B

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

Color values

HEX#ACC04B
RGBrgb(172, 192, 75)
HSLhsl(70, 48%, 52%)
HSVhsv(70, 61%, 75%)
CMYKcmyk(10.4%, 0%, 60.9%, 24.7%)
CIE-LABlab(74.18, -23.17, 55.09)
CIE-LCHlch(74.18, 59.77, 112.81°)
OKLaboklab(76.94% -0.0676 0.1265)
OKLCHoklch(76.94% 0.143 118.1)
XYZxyz(37.1335, 46.9782, 13.7667)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC04B #5F4BC0
analogous
#C0994B #ACC04B #72C04B
triadic
#ACC04B #4BACC0 #C04BAC
tetradic
#ACC04B #4BC099 #5F4BC0 #C04B72
square
#ACC04B #4BC099 #5F4BC0 #C04B72
split-complementary
#ACC04B #4B72C0 #994BC0
monochromatic
#5F6B25 #889835 #ACC04B #C1D078 #D6E0A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC04B#FFFFFF#000000##000000
##ACC04B1.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)
#CCB63D
Deuteranopia (green-blind)
#CAB753
Tritanopia (blue-blind)
#B5B6A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #acc04b;
/* rgb */ color: rgb(172, 192, 75);
/* oklch */ color: oklch(76.9% 0.143 118.1);
Tailwind
colors: {
  custom: {
    50: '#c7d382',
    500: '#acc04b',
    950: '#000000',
  },
}
SCSS
$custom: #acc04b;
$custom-light: #c7d382;
$custom-dark: #000000;
JSON
{
  "hex": "#acc04b",
  "rgb": {
    "r": 172,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 70.256,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.14345,
    "h": 118.1
  },
  "luminance": 0.46978
}

Semantic roles & 50–950 ramp

primary
#ACC04B
secondary
#A39ACD
accent
#50D867
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #ACC04B

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

Preview Lab → · Contrast checker → · Palette generator →

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