#CCD250#CCD250

#CCD250 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.151 H 111.8°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#CCD250
RGBrgb(204, 210, 80)
HSLhsl(63, 59%, 57%)
HSVhsv(63, 62%, 82%)
CMYKcmyk(2.9%, 0%, 61.9%, 17.6%)
CIE-LABlab(81.57, -18.57, 61.66)
CIE-LCHlch(81.57, 64.39, 106.76°)
OKLaboklab(83.47% -0.056 0.1404)
OKLCHoklch(83.47% 0.151 111.8)
XYZxyz(49.3978, 59.5109, 16.4724)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD250 #5650D2
analogous
#D29750 #CCD250 #8BD250
triadic
#CCD250 #50CCD2 #D250CC
tetradic
#CCD250 #50D297 #5650D2 #D2508B
square
#CCD250 #50D297 #5650D2 #D2508B
split-complementary
#CCD250 #508BD2 #9750D2
monochromatic
#818522 #B0B62F #CCD250 #DADF81 #E8EBB1

Accessibility & contrast

On white

1.63
#CCD250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#CCD250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD250
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD250#FFFFFF#000000##000000
##CCD2501.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#E2CC58
Tritanopia (blue-blind)
#D9C6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd250;
/* rgb */ color: rgb(204, 210, 80);
/* oklch */ color: oklch(83.5% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf87',
    500: '#ccd250',
    950: '#000000',
  },
}
SCSS
$custom: #ccd250;
$custom-light: #dedf87;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd250",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 62.769,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83473,
    "c": 0.15118,
    "h": 111.8
  },
  "luminance": 0.5951
}

Semantic roles & 50–950 ramp

primary
#CCD250
secondary
#3E3A8C
accent
#46E24D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD250

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

Preview Lab → · Contrast checker → · Palette generator →

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