#CDB33C#CDB33C

#CDB33C is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.137 H 96.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CDB33C
RGBrgb(205, 179, 60)
HSLhsl(49, 59%, 52%)
HSVhsv(49, 71%, 80%)
CMYKcmyk(0%, 12.7%, 70.7%, 19.6%)
CIE-LABlab(73.25, -3.52, 61.17)
CIE-LCHlch(73.25, 61.27, 93.29°)
OKLaboklab(76.83% -0.0156 0.1362)
OKLCHoklch(76.83% 0.137 96.5)
XYZxyz(42.1146, 45.5478, 10.8474)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB33C #3C56CD
analogous
#CD6A3C #CDB33C #9FCD3C
triadic
#CDB33C #3CCDB3 #B33CCD
tetradic
#CDB33C #3CCD6A #3C56CD #CD3C9F
square
#CDB33C #3CCD6A #3C56CD #CD3C9F
split-complementary
#CDB33C #3C9FCD #6A3CCD
monochromatic
#71621D #A28D2A #CDB33C #D9C66D #E6D99D

Accessibility & contrast

On white

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

On black

10.11
#CDB33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB33C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB33C#FFFFFF#000000##000000
##CDB33C1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2A
Deuteranopia (green-blind)
#CCB743
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb33c;
/* rgb */ color: rgb(205, 179, 60);
/* oklch */ color: oklch(76.8% 0.137 96.5);
Tailwind
colors: {
  custom: {
    50: '#e0c979',
    500: '#cdb33c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb33c;
$custom-light: #e0c979;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb33c",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 49.241,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76825,
    "c": 0.13705,
    "h": 96.5
  },
  "luminance": 0.45546
}

Semantic roles & 50–950 ramp

primary
#CDB33C
secondary
#939ED2
accent
#62E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB33C

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

Preview Lab → · Contrast checker → · Palette generator →

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