#CCC83D#CCC83D

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

Color values

HEX#CCC83D
RGBrgb(204, 200, 61)
HSLhsl(58, 58%, 52%)
HSVhsv(58, 70%, 80%)
CMYKcmyk(0%, 2%, 70.1%, 20%)
CIE-LABlab(78.74, -14.68, 66.18)
CIE-LCHlch(78.74, 67.79, 102.50°)
OKLaboklab(81.17% -0.047 0.147)
OKLCHoklch(81.17% 0.154 107.7)
XYZxyz(46.4002, 54.4844, 12.4863)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC83D #3D41CC
analogous
#CC813D #CCC83D #88CC3D
triadic
#CCC83D #3DCCC8 #C83DCC
tetradic
#CCC83D #3DCC81 #3D41CC #CC3D88
square
#CCC83D #3DCC81 #3D41CC #CC3D88
split-complementary
#CCC83D #3D88CC #813DCC
monochromatic
#716F1E #A19E2A #CCC83D #D9D66D #E5E39E

Accessibility & contrast

On white

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

On black

11.90
#CCC83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC83D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC83D#FFFFFF#000000##000000
##CCC83D1.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc83d;
/* rgb */ color: rgb(204, 200, 61);
/* oklch */ color: oklch(81.2% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#dfd87b',
    500: '#ccc83d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc83d;
$custom-light: #dfd87b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc83d",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 58.322,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81171,
    "c": 0.15432,
    "h": 107.7
  },
  "luminance": 0.54483
}

Semantic roles & 50–950 ramp

primary
#CCC83D
secondary
#33357A
accent
#4BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC83D

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

Preview Lab → · Contrast checker → · Palette generator →

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