#CCC253#CCC253

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

Color values

HEX#CCC253
RGBrgb(204, 194, 83)
HSLhsl(55, 54%, 56%)
HSVhsv(55, 59%, 80%)
CMYKcmyk(0%, 4.9%, 59.3%, 20%)
CIE-LABlab(77.31, -10.32, 55.74)
CIE-LCHlch(77.31, 56.69, 100.49°)
OKLaboklab(80.08% -0.0324 0.1283)
OKLCHoklch(80.08% 0.132 104.2)
XYZxyz(45.7565, 52.0471, 15.8178)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC253 #535DCC
analogous
#CC8653 #CCC253 #9ACC53
triadic
#CCC253 #53CCC2 #C253CC
tetradic
#CCC253 #53CC86 #535DCC #CC539A
square
#CCC253 #53CC86 #535DCC #CC539A
split-complementary
#CCC253 #539ACC #8653CC
monochromatic
#7F7826 #AEA434 #CCC253 #DAD382 #E8E3B1

Accessibility & contrast

On white

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

On black

11.41
#CCC253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC253
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC253#FFFFFF#000000##000000
##CCC2531.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc253;
/* rgb */ color: rgb(204, 194, 83);
/* oklch */ color: oklch(80.1% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#ded488',
    500: '#ccc253',
    950: '#000000',
  },
}
SCSS
$custom: #ccc253;
$custom-light: #ded488;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc253",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 55.041,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80083,
    "c": 0.13228,
    "h": 104.2
  },
  "luminance": 0.52045
}

Semantic roles & 50–950 ramp

primary
#CCC253
secondary
#3D4387
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC253

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

Preview Lab → · Contrast checker → · Palette generator →

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