#CDC249#CDC249

#CDC249 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.140 H 104.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CDC249
RGBrgb(205, 194, 73)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 5.4%, 64.4%, 19.6%)
CIE-LABlab(77.31, -10.56, 60.07)
CIE-LCHlch(77.31, 60.99, 99.97°)
OKLaboklab(80.08% -0.0342 0.136)
OKLCHoklch(80.08% 0.14 104.1)
XYZxyz(45.6730, 52.0455, 13.9420)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC249 #4954CD
analogous
#CD8049 #CDC249 #96CD49
triadic
#CDC249 #49CDC2 #C249CD
tetradic
#CDC249 #49CD80 #4954CD #CD4996
square
#CDC249 #49CD80 #4954CD #CD4996
split-complementary
#CDC249 #4996CD #8049CD
monochromatic
#7A7322 #AAA02F #CDC249 #DAD279 #E7E2A9

Accessibility & contrast

On white

1.84
#CDC249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CDC249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC249
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC249#FFFFFF#000000##000000
##CDC2491.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3A
Deuteranopia (green-blind)
#D6C250
Tritanopia (blue-blind)
#DCB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc249;
/* rgb */ color: rgb(205, 194, 73);
/* oklch */ color: oklch(80.1% 0.140 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd482',
    500: '#cdc249',
    950: '#000000',
  },
}
SCSS
$custom: #cdc249;
$custom-light: #dfd482;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc249",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 55,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80075,
    "c": 0.14025,
    "h": 104.1
  },
  "luminance": 0.52044
}

Semantic roles & 50–950 ramp

primary
#CDC249
secondary
#383E82
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC249

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

Preview Lab → · Contrast checker → · Palette generator →

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