#CDC33C#CDC33C

#CDC33C is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.150 H 105.1°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CDC33C
RGBrgb(205, 195, 60)
HSLhsl(56, 59%, 52%)
HSVhsv(56, 71%, 80%)
CMYKcmyk(0%, 4.9%, 70.7%, 19.6%)
CIE-LABlab(77.48, -11.78, 65.34)
CIE-LCHlch(77.48, 66.40, 100.22°)
OKLaboklab(80.18% -0.039 0.145)
OKLCHoklch(80.18% 0.15 105.1)
XYZxyz(45.5094, 52.3373, 11.9790)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC33C #3C46CD
analogous
#CD7B3C #CDC33C #8FCD3C
triadic
#CDC33C #3CCDC3 #C33CCD
tetradic
#CDC33C #3CCD7B #3C46CD #CD3C8F
square
#CDC33C #3CCD7B #3C46CD #CD3C8F
split-complementary
#CDC33C #3C8FCD #7B3CCD
monochromatic
#716C1D #A29A2A #CDC33C #D9D26D #E6E19D

Accessibility & contrast

On white

1.83
#CDC33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CDC33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC33C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC33C#FFFFFF#000000##000000
##CDC33C1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC25
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#DCB6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc33c;
/* rgb */ color: rgb(205, 195, 60);
/* oklch */ color: oklch(80.2% 0.150 105.1);
Tailwind
colors: {
  custom: {
    50: '#e0d47a',
    500: '#cdc33c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc33c;
$custom-light: #e0d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc33c",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 55.862,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80184,
    "c": 0.15015,
    "h": 105.1
  },
  "luminance": 0.52336
}

Semantic roles & 50–950 ramp

primary
#CDC33C
secondary
#33387A
accent
#50E245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC33C

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

Preview Lab → · Contrast checker → · Palette generator →

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