#CCC83B#CCC83B

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

Color values

HEX#CCC83B
RGBrgb(204, 200, 59)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 71%, 80%)
CMYKcmyk(0%, 2%, 71.1%, 20%)
CIE-LABlab(78.73, -14.77, 66.89)
CIE-LCHlch(78.73, 68.50, 102.46°)
OKLaboklab(81.16% -0.0475 0.1481)
OKLCHoklch(81.16% 0.156 107.8)
XYZxyz(46.3473, 54.4632, 12.2079)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC83B #3B3FCC
analogous
#CC803B #CCC83B #88CC3B
triadic
#CCC83B #3BCCC8 #C83BCC
tetradic
#CCC83B #3BCC80 #3B3FCC #CC3B88
square
#CCC83B #3BCC80 #3B3FCC #CC3B88
split-complementary
#CCC83B #3B88CC #803BCC
monochromatic
#706D1D #A09D2A #CCC83B #D9D66C #E5E39C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC83B#FFFFFF#000000##000000
##CCC83B1.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)
#D9C022
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#DBBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc83b;
/* rgb */ color: rgb(204, 200, 59);
/* oklch */ color: oklch(81.2% 0.156 107.8);
Tailwind
colors: {
  custom: {
    50: '#dfd87a',
    500: '#ccc83b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc83b;
$custom-light: #dfd87a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc83b",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 58.345,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81157,
    "c": 0.15555,
    "h": 107.8
  },
  "luminance": 0.54462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC83B

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

Preview Lab → · Contrast checker → · Palette generator →

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