#CCC258#CCC258

#CCC258 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.128 H 103.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CCC258
RGBrgb(204, 194, 88)
HSLhsl(55, 53%, 57%)
HSVhsv(55, 57%, 80%)
CMYKcmyk(0%, 4.9%, 56.9%, 20%)
CIE-LABlab(77.36, -9.96, 53.54)
CIE-LCHlch(77.36, 54.46, 100.54°)
OKLaboklab(80.14% -0.0308 0.1242)
OKLCHoklch(80.14% 0.128 103.9)
XYZxyz(45.9566, 52.1271, 16.8714)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC258 #5862CC
analogous
#CC8858 #CCC258 #9CCC58
triadic
#CCC258 #58CCC2 #C258CC
tetradic
#CCC258 #58CC88 #5862CC #CC589C
square
#CCC258 #58CC88 #5862CC #CC589C
split-complementary
#CCC258 #589CCC #8858CC
monochromatic
#827A28 #B1A636 #CCC258 #DAD387 #E9E4B6

Accessibility & contrast

On white

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

On black

11.43
#CCC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC258
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC258#FFFFFF#000000##000000
##CCC2581.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4D
Deuteranopia (green-blind)
#D5C25D
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc258;
/* rgb */ color: rgb(204, 194, 88);
/* oklch */ color: oklch(80.1% 0.128 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded48b',
    500: '#ccc258',
    950: '#000000',
  },
}
SCSS
$custom: #ccc258;
$custom-light: #ded48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc258",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 54.828,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80136,
    "c": 0.12793,
    "h": 103.9
  },
  "luminance": 0.52126
}

Semantic roles & 50–950 ramp

primary
#CCC258
secondary
#3F4589
accent
#58DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC258

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

Preview Lab → · Contrast checker → · Palette generator →

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