#CCCF2F#CCCF2F

#CCCF2F is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.6% C 0.169 H 110.7°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CCCF2F
RGBrgb(204, 207, 47)
HSLhsl(61, 63%, 50%)
HSVhsv(61, 77%, 81%)
CMYKcmyk(1.4%, 0%, 77.3%, 18.8%)
CIE-LABlab(80.55, -18.76, 72.47)
CIE-LCHlch(80.55, 74.86, 104.51°)
OKLaboklab(82.59% -0.0597 0.1578)
OKLCHoklch(82.59% 0.169 110.7)
XYZxyz(47.7295, 57.6696, 11.3059)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF2F #322FCF
analogous
#CF822F #CCCF2F #7CCF2F
triadic
#CCCF2F #2FCCCF #CF2FCC
tetradic
#CCCF2F #2FCF82 #322FCF #CF2F7C
square
#CCCF2F #2FCF82 #322FCF #CF2F7C
split-complementary
#CCCF2F #2F7CCF #822FCF
monochromatic
#6A6B18 #9B9D24 #CCCF2F #D9DB60 #E5E692

Accessibility & contrast

On white

1.68
#CCCF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CCCF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF2F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF2F#FFFFFF#000000##000000
##CCCF2F1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E1CA3D
Tritanopia (blue-blind)
#DBC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf2f;
/* rgb */ color: rgb(204, 207, 47);
/* oklch */ color: oklch(82.6% 0.169 110.7);
Tailwind
colors: {
  custom: {
    50: '#e0dd75',
    500: '#cccf2f',
    950: '#000000',
  },
}
SCSS
$custom: #cccf2f;
$custom-light: #e0dd75;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf2f",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 47
  },
  "hsl": {
    "h": 61.125,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.82594,
    "c": 0.16873,
    "h": 110.7
  },
  "luminance": 0.57668
}

Semantic roles & 50–950 ramp

primary
#CCCF2F
secondary
#2F2D75
accent
#42E645
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCCF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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