#CCC250#CCC250

#CCC250 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.135 H 104.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CCC250
RGBrgb(204, 194, 80)
HSLhsl(55, 55%, 56%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 4.9%, 60.8%, 20%)
CIE-LABlab(77.28, -10.53, 57.03)
CIE-LCHlch(77.28, 58.00, 100.46°)
OKLaboklab(80.05% -0.0333 0.1306)
OKLCHoklch(80.05% 0.135 104.3)
XYZxyz(45.6432, 52.0018, 15.2209)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC250 #505ACC
analogous
#CC8450 #CCC250 #98CC50
triadic
#CCC250 #50CCC2 #C250CC
tetradic
#CCC250 #50CC84 #505ACC #CC5098
square
#CCC250 #50CC84 #505ACC #CC5098
split-complementary
#CCC250 #5098CC #8450CC
monochromatic
#7D7624 #ADA332 #CCC250 #DAD37F #E8E3AF

Accessibility & contrast

On white

1.84
#CCC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CCC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC250
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC250#FFFFFF#000000##000000
##CCC2501.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#DAB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc250;
/* rgb */ color: rgb(204, 194, 80);
/* oklch */ color: oklch(80.1% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#ded486',
    500: '#ccc250',
    950: '#000000',
  },
}
SCSS
$custom: #ccc250;
$custom-light: #ded486;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc250",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 55.161,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80053,
    "c": 0.13479,
    "h": 104.3
  },
  "luminance": 0.52
}

Semantic roles & 50–950 ramp

primary
#CCC250
secondary
#3B4185
accent
#56DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC250

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

Preview Lab → · Contrast checker → · Palette generator →

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