#CCC93F#CCC93F

#CCC93F is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.154 H 108.1°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CCC93F
RGBrgb(204, 201, 63)
HSLhsl(59, 58%, 52%)
HSVhsv(59, 69%, 80%)
CMYKcmyk(0%, 1.5%, 69.1%, 20%)
CIE-LABlab(79.02, -15.08, 65.73)
CIE-LCHlch(79.02, 67.43, 102.92°)
OKLaboklab(81.4% -0.048 0.1464)
OKLCHoklch(81.4% 0.154 108.1)
XYZxyz(46.6874, 54.9710, 12.8528)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC93F #3F42CC
analogous
#CC823F #CCC93F #89CC3F
triadic
#CCC93F #3FCCC9 #C93FCC
tetradic
#CCC93F #3FCC82 #3F42CC #CC3F89
square
#CCC93F #3FCC82 #3F42CC #CC3F89
split-complementary
#CCC93F #3F89CC #823FCC
monochromatic
#72701E #A3A02B #CCC93F #D9D76F #E6E4A0

Accessibility & contrast

On white

1.75
#CCC93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CCC93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC93F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC93F#FFFFFF#000000##000000
##CCC93F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C129
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#DABCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc93f;
/* rgb */ color: rgb(204, 201, 63);
/* oklch */ color: oklch(81.4% 0.154 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfd97d',
    500: '#ccc93f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc93f;
$custom-light: #dfd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc93f",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 58.723,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81399,
    "c": 0.15401,
    "h": 108.1
  },
  "luminance": 0.5497
}

Semantic roles & 50–950 ramp

primary
#CCC93F
secondary
#34367B
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC93F

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

Preview Lab → · Contrast checker → · Palette generator →

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