#CDC849#CDC849

#CDC849 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.146 H 107.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC849
RGBrgb(205, 200, 73)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2.4%, 64.4%, 19.6%)
CIE-LABlab(78.91, -13.60, 61.75)
CIE-LCHlch(78.91, 63.23, 102.42°)
OKLaboklab(81.35% -0.0428 0.1396)
OKLCHoklch(81.35% 0.146 107.1)
XYZxyz(47.0354, 54.7703, 14.3961)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC849 #494ECD
analogous
#CD8649 #CDC849 #90CD49
triadic
#CDC849 #49CDC8 #C849CD
tetradic
#CDC849 #49CD86 #494ECD #CD4990
square
#CDC849 #49CD86 #494ECD #CD4990
split-complementary
#CDC849 #4990CD #8649CD
monochromatic
#7A7722 #AAA52F #CDC849 #DAD779 #E7E5A9

Accessibility & contrast

On white

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

On black

11.95
#CDC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC849
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC849#FFFFFF#000000##000000
##CDC8491.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C138
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#DBBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc849;
/* rgb */ color: rgb(205, 200, 73);
/* oklch */ color: oklch(81.3% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd882',
    500: '#cdc849',
    950: '#000000',
  },
}
SCSS
$custom: #cdc849;
$custom-light: #dfd882;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc849",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 57.727,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81349,
    "c": 0.14597,
    "h": 107.1
  },
  "luminance": 0.54769
}

Semantic roles & 50–950 ramp

primary
#CDC849
secondary
#383B82
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC849

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

Preview Lab → · Contrast checker → · Palette generator →

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