#CDC833#CDC833

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

Color values

HEX#CDC833
RGBrgb(205, 200, 51)
HSLhsl(58, 61%, 50%)
HSVhsv(58, 75%, 80%)
CMYKcmyk(0%, 2.4%, 75.1%, 19.6%)
CIE-LABlab(78.77, -14.70, 69.66)
CIE-LCHlch(78.77, 71.19, 101.92°)
OKLaboklab(81.19% -0.0481 0.1525)
OKLCHoklch(81.19% 0.16 107.5)
XYZxyz(46.4305, 54.5283, 11.2106)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC833 #3338CD
analogous
#CD7B33 #CDC833 #85CD33
triadic
#CDC833 #33CDC8 #C833CD
tetradic
#CDC833 #33CD7B #3338CD #CD3385
square
#CDC833 #33CD7B #3338CD #CD3385
split-complementary
#CDC833 #3385CD #7B33CD
monochromatic
#6B691A #9C9926 #CDC833 #D9D564 #E5E395

Accessibility & contrast

On white

1.76
#CDC833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CDC833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC833
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC833#FFFFFF#000000##000000
##CDC8331.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C00F
Deuteranopia (green-blind)
#DCC53F
Tritanopia (blue-blind)
#DCBBAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc833;
/* rgb */ color: rgb(205, 200, 51);
/* oklch */ color: oklch(81.2% 0.160 107.5);
Tailwind
colors: {
  custom: {
    50: '#e0d876',
    500: '#cdc833',
    950: '#000000',
  },
}
SCSS
$custom: #cdc833;
$custom-light: #e0d876;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc833",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 51
  },
  "hsl": {
    "h": 58.052,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81193,
    "c": 0.15991,
    "h": 107.5
  },
  "luminance": 0.54527
}

Semantic roles & 50–950 ramp

primary
#CDC833
secondary
#2F3275
accent
#49E444
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CDC833

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

Preview Lab → · Contrast checker → · Palette generator →

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