#CDC850#CDC850

#CDC850 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.141 H 106.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CDC850
RGBrgb(205, 200, 80)
HSLhsl(58, 56%, 56%)
HSVhsv(58, 61%, 80%)
CMYKcmyk(0%, 2.4%, 61%, 19.6%)
CIE-LABlab(78.97, -13.16, 58.88)
CIE-LCHlch(78.97, 60.34, 102.60°)
OKLaboklab(81.41% -0.0408 0.1345)
OKLCHoklch(81.41% 0.141 106.9)
XYZxyz(47.2806, 54.8684, 15.6879)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC850 #5055CD
analogous
#CD8950 #CDC850 #93CD50
triadic
#CDC850 #50CDC8 #C850CD
tetradic
#CDC850 #50CD89 #5055CD #CD5093
square
#CDC850 #50CD89 #5055CD #CD5093
split-complementary
#CDC850 #5093CD #8950CD
monochromatic
#7E7B24 #AEA932 #CDC850 #DBD780 #E8E6AF

Accessibility & contrast

On white

1.75
#CDC850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CDC850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC850
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC850#FFFFFF#000000##000000
##CDC8501.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#DBBCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc850;
/* rgb */ color: rgb(205, 200, 80);
/* oklch */ color: oklch(81.4% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#dfd886',
    500: '#cdc850',
    950: '#000000',
  },
}
SCSS
$custom: #cdc850;
$custom-light: #dfd886;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc850",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 57.6,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81413,
    "c": 0.14057,
    "h": 106.9
  },
  "luminance": 0.54867
}

Semantic roles & 50–950 ramp

primary
#CDC850
secondary
#3B3E86
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC850

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

Preview Lab → · Contrast checker → · Palette generator →

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