#CCD34F#CCD34F

#CCD34F is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.153 H 112.2°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#CCD34F
RGBrgb(204, 211, 79)
HSLhsl(63, 60%, 57%)
HSVhsv(63, 63%, 83%)
CMYKcmyk(3.3%, 0%, 62.6%, 17.3%)
CIE-LABlab(81.83, -19.12, 62.35)
CIE-LCHlch(81.83, 65.22, 107.05°)
OKLaboklab(83.68% -0.0577 0.1417)
OKLCHoklch(83.68% 0.153 112.2)
XYZxyz(49.6087, 59.9915, 16.3619)
Luminance0.5999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD34F #564FD3
analogous
#D3984F #CCD34F #8AD34F
triadic
#CCD34F #4FCCD3 #D34FCC
tetradic
#CCD34F #4FD398 #564FD3 #D34F8A
square
#CCD34F #4FD398 #564FD3 #D34F8A
split-complementary
#CCD34F #4F8AD3 #984FD3
monochromatic
#818622 #B0B72E #CCD34F #DADF80 #E8EBB1

Accessibility & contrast

On white

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

On black

13.00
#CCD34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD34F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD34F#FFFFFF#000000##000000
##CCD34F1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3E
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#D9C7B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd34f;
/* rgb */ color: rgb(204, 211, 79);
/* oklch */ color: oklch(83.7% 0.153 112.2);
Tailwind
colors: {
  custom: {
    50: '#dee086',
    500: '#ccd34f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd34f;
$custom-light: #dee086;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd34f",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 63.182,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8368,
    "c": 0.15303,
    "h": 112.2
  },
  "luminance": 0.5999
}

Semantic roles & 50–950 ramp

primary
#CCD34F
secondary
#3E398D
accent
#45E34D
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD34F

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

Preview Lab → · Contrast checker → · Palette generator →

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