#CCC83C#CCC83C

#CCC83C is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.155 H 107.8°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CCC83C
RGBrgb(204, 200, 60)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 71%, 80%)
CMYKcmyk(0%, 2%, 70.6%, 20%)
CIE-LABlab(78.74, -14.73, 66.54)
CIE-LCHlch(78.74, 68.15, 102.48°)
OKLaboklab(81.16% -0.0473 0.1475)
OKLCHoklch(81.16% 0.155 107.8)
XYZxyz(46.3735, 54.4737, 12.3458)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC83C #3C40CC
analogous
#CC803C #CCC83C #88CC3C
triadic
#CCC83C #3CCCC8 #C83CCC
tetradic
#CCC83C #3CCC80 #3C40CC #CC3C88
square
#CCC83C #3CCC80 #3C40CC #CC3C88
split-complementary
#CCC83C #3C88CC #803CCC
monochromatic
#706E1D #A19D2A #CCC83C #D9D66D #E5E39D

Accessibility & contrast

On white

1.77
#CCC83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CCC83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC83C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC83C#FFFFFF#000000##000000
##CCC83C1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C024
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#DBBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc83c;
/* rgb */ color: rgb(204, 200, 60);
/* oklch */ color: oklch(81.2% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#dfd87b',
    500: '#ccc83c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc83c;
$custom-light: #dfd87b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc83c",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 58.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81164,
    "c": 0.15493,
    "h": 107.8
  },
  "luminance": 0.54472
}

Semantic roles & 50–950 ramp

primary
#CCC83C
secondary
#333579
accent
#4AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC83C

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

Preview Lab → · Contrast checker → · Palette generator →

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