#CCB33D#CCB33D

#CCB33D is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.136 H 97.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CCB33D
RGBrgb(204, 179, 61)
HSLhsl(50, 58%, 52%)
HSVhsv(50, 70%, 80%)
CMYKcmyk(0%, 12.3%, 70.1%, 20%)
CIE-LABlab(73.17, -3.90, 60.66)
CIE-LCHlch(73.17, 60.78, 93.68°)
OKLaboklab(76.74% -0.0165 0.1353)
OKLCHoklch(76.74% 0.136 97)
XYZxyz(41.8663, 45.4166, 10.9750)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB33D #3D56CC
analogous
#CC6B3D #CCB33D #9ECC3D
triadic
#CCB33D #3DCCB3 #B33DCC
tetradic
#CCB33D #3DCC6B #3D56CC #CC3D9E
square
#CCB33D #3DCC6B #3D56CC #CC3D9E
split-complementary
#CCB33D #3D9ECC #6B3DCC
monochromatic
#71621E #A18D2A #CCB33D #D9C66D #E5D99E

Accessibility & contrast

On white

2.08
#CCB33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CCB33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB33D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB33D#FFFFFF#000000##000000
##CCB33D1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2C
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#DCA69B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb33d;
/* rgb */ color: rgb(204, 179, 61);
/* oklch */ color: oklch(76.7% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#dfc979',
    500: '#ccb33d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb33d;
$custom-light: #dfc979;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb33d",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 61
  },
  "hsl": {
    "h": 49.51,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76738,
    "c": 0.13631,
    "h": 97
  },
  "luminance": 0.45414
}

Semantic roles & 50–950 ramp

primary
#CCB33D
secondary
#939ED2
accent
#61E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB33D

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

Preview Lab → · Contrast checker → · Palette generator →

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