#CCD34A#CCD34A

#CCD34A is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.6% C 0.157 H 112.1°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CCD34A
RGBrgb(204, 211, 74)
HSLhsl(63, 61%, 56%)
HSVhsv(63, 65%, 83%)
CMYKcmyk(3.3%, 0%, 64.9%, 17.3%)
CIE-LABlab(81.80, -19.43, 64.32)
CIE-LCHlch(81.80, 67.19, 106.81°)
OKLaboklab(83.64% -0.0591 0.1452)
OKLCHoklch(83.64% 0.157 112.1)
XYZxyz(49.4336, 59.9214, 15.4392)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD34A #514AD3
analogous
#D3954A #CCD34A #87D34A
triadic
#CCD34A #4ACCD3 #D34ACC
tetradic
#CCD34A #4AD395 #514AD3 #D34A87
square
#CCD34A #4AD395 #514AD3 #D34A87
split-complementary
#CCD34A #4A87D3 #954AD3
monochromatic
#7E8320 #ADB42C #CCD34A #DADF7B #E8EBAC

Accessibility & contrast

On white

1.62
#CCD34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#CCD34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD34A
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD34A#FFFFFF#000000##000000
##CCD34A1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA37
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#D9C7B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd34a;
/* rgb */ color: rgb(204, 211, 74);
/* oklch */ color: oklch(83.6% 0.157 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe083',
    500: '#ccd34a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd34a;
$custom-light: #dfe083;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd34a",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 74
  },
  "hsl": {
    "h": 63.066,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83637,
    "c": 0.15673,
    "h": 112.1
  },
  "luminance": 0.5992
}

Semantic roles & 50–950 ramp

primary
#CCD34A
secondary
#3C378A
accent
#44E44C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD34A

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

Preview Lab → · Contrast checker → · Palette generator →

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