#CCC93E#CCC93E

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

Color values

HEX#CCC93E
RGBrgb(204, 201, 62)
HSLhsl(59, 58%, 52%)
HSVhsv(59, 70%, 80%)
CMYKcmyk(0%, 1.5%, 69.6%, 20%)
CIE-LABlab(79.02, -15.13, 66.09)
CIE-LCHlch(79.02, 67.80, 102.89°)
OKLaboklab(81.39% -0.0482 0.147)
OKLCHoklch(81.39% 0.155 108.2)
XYZxyz(46.6597, 54.9599, 12.7070)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC93E #3E41CC
analogous
#CC823E #CCC93E #88CC3E
triadic
#CCC93E #3ECCC9 #C93ECC
tetradic
#CCC93E #3ECC82 #3E41CC #CC3E88
square
#CCC93E #3ECC82 #3E41CC #CC3E88
split-complementary
#CCC93E #3E88CC #823ECC
monochromatic
#72701E #A29F2B #CCC93E #D9D76E #E6E49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC93E#FFFFFF#000000##000000
##CCC93E1.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)
#D9C127
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#DABCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc93e;
/* rgb */ color: rgb(204, 201, 62);
/* oklch */ color: oklch(81.4% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#dfd97c',
    500: '#ccc93e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc93e;
$custom-light: #dfd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc93e",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 58.732,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81392,
    "c": 0.15465,
    "h": 108.2
  },
  "luminance": 0.54958
}

Semantic roles & 50–950 ramp

primary
#CCC93E
secondary
#34357B
accent
#4AE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC93E

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

Preview Lab → · Contrast checker → · Palette generator →

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