#CDC834#CDC834

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

Color values

HEX#CDC834
RGBrgb(205, 200, 52)
HSLhsl(58, 60%, 50%)
HSVhsv(58, 75%, 80%)
CMYKcmyk(0%, 2.4%, 74.6%, 19.6%)
CIE-LABlab(78.77, -14.66, 69.34)
CIE-LCHlch(78.77, 70.87, 101.94°)
OKLaboklab(81.2% -0.0479 0.152)
OKLCHoklch(81.2% 0.159 107.5)
XYZxyz(46.4528, 54.5372, 11.3279)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC834 #3439CD
analogous
#CD7B34 #CDC834 #86CD34
triadic
#CDC834 #34CDC8 #C834CD
tetradic
#CDC834 #34CD7B #3439CD #CD3486
square
#CDC834 #34CD7B #3439CD #CD3486
split-complementary
#CDC834 #3486CD #7B34CD
monochromatic
#6C691B #9D9927 #CDC834 #D9D565 #E5E396

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC834#FFFFFF#000000##000000
##CDC8341.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)
#D9C012
Deuteranopia (green-blind)
#DCC540
Tritanopia (blue-blind)
#DCBBAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc834;
/* rgb */ color: rgb(205, 200, 52);
/* oklch */ color: oklch(81.2% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#e0d877',
    500: '#cdc834',
    950: '#000000',
  },
}
SCSS
$custom: #cdc834;
$custom-light: #e0d877;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc834",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 58.039,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81199,
    "c": 0.15938,
    "h": 107.5
  },
  "luminance": 0.54536
}

Semantic roles & 50–950 ramp

primary
#CDC834
secondary
#303276
accent
#49E444
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CDC834

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

Preview Lab → · Contrast checker → · Palette generator →

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