#CDC844#CDC844

#CDC844 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.150 H 107.2°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CDC844
RGBrgb(205, 200, 68)
HSLhsl(58, 58%, 54%)
HSVhsv(58, 67%, 80%)
CMYKcmyk(0%, 2.4%, 66.8%, 19.6%)
CIE-LABlab(78.87, -13.89, 63.70)
CIE-LCHlch(78.87, 65.20, 102.30°)
OKLaboklab(81.31% -0.0442 0.1429)
OKLCHoklch(81.31% 0.15 107.2)
XYZxyz(46.8762, 54.7066, 13.5579)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC844 #4449CD
analogous
#CD8344 #CDC844 #8DCD44
triadic
#CDC844 #44CDC8 #C844CD
tetradic
#CDC844 #44CD83 #4449CD #CD448D
square
#CDC844 #44CD83 #4449CD #CD448D
split-complementary
#CDC844 #448DCD #8344CD
monochromatic
#777420 #A7A32D #CDC844 #DAD674 #E7E4A5

Accessibility & contrast

On white

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

On black

11.94
#CDC844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC844
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC844#FFFFFF#000000##000000
##CDC8441.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C031
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#DBBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc844;
/* rgb */ color: rgb(205, 200, 68);
/* oklch */ color: oklch(81.3% 0.150 107.2);
Tailwind
colors: {
  custom: {
    50: '#e0d87f',
    500: '#cdc844',
    950: '#000000',
  },
}
SCSS
$custom: #cdc844;
$custom-light: #e0d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc844",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 57.81,
    "s": 57.806,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81308,
    "c": 0.14955,
    "h": 107.2
  },
  "luminance": 0.54705
}

Semantic roles & 50–950 ramp

primary
#CDC844
secondary
#36397F
accent
#4CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC844

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

Preview Lab → · Contrast checker → · Palette generator →

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