#CCB83D#CCB83D

#CCB83D is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.140 H 99.8°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CCB83D
RGBrgb(204, 184, 61)
HSLhsl(52, 58%, 52%)
HSVhsv(52, 70%, 80%)
CMYKcmyk(0%, 9.8%, 70.1%, 20%)
CIE-LABlab(74.48, -6.51, 61.97)
CIE-LCHlch(74.48, 62.31, 95.99°)
OKLaboklab(77.78% -0.0239 0.1381)
OKLCHoklch(77.78% 0.14 99.8)
XYZxyz(42.8866, 47.4573, 11.3151)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB83D #3D51CC
analogous
#CC703D #CCB83D #99CC3D
triadic
#CCB83D #3DCCB8 #B83DCC
tetradic
#CCB83D #3DCC70 #3D51CC #CC3D99
square
#CCB83D #3DCC70 #3D51CC #CC3D99
split-complementary
#CCB83D #3D99CC #703DCC
monochromatic
#71651E #A1912A #CCB83D #D9CA6D #E5DB9E

Accessibility & contrast

On white

2.00
#CCB83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CCB83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB83D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB83D#FFFFFF#000000##000000
##CCB83D1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32B
Deuteranopia (green-blind)
#CFBA45
Tritanopia (blue-blind)
#DCAB9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb83d;
/* rgb */ color: rgb(204, 184, 61);
/* oklch */ color: oklch(77.8% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#dfcd7a',
    500: '#ccb83d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb83d;
$custom-light: #dfcd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb83d",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 61
  },
  "hsl": {
    "h": 51.608,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77781,
    "c": 0.14014,
    "h": 99.8
  },
  "luminance": 0.47455
}

Semantic roles & 50–950 ramp

primary
#CCB83D
secondary
#939CD2
accent
#5CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB83D

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

Preview Lab → · Contrast checker → · Palette generator →

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