#CDC749#CDC749

#CDC749 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.145 H 106.6°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CDC749
RGBrgb(205, 199, 73)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 2.9%, 64.4%, 19.6%)
CIE-LABlab(78.64, -13.10, 61.47)
CIE-LCHlch(78.64, 62.85, 102.03°)
OKLaboklab(81.14% -0.0414 0.139)
OKLCHoklch(81.14% 0.145 106.6)
XYZxyz(46.8045, 54.3086, 14.3192)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC749 #494FCD
analogous
#CD8549 #CDC749 #91CD49
triadic
#CDC749 #49CDC7 #C749CD
tetradic
#CDC749 #49CD85 #494FCD #CD4991
square
#CDC749 #49CD85 #494FCD #CD4991
split-complementary
#CDC749 #4991CD #8549CD
monochromatic
#7A7622 #AAA42F #CDC749 #DAD679 #E7E5A9

Accessibility & contrast

On white

1.77
#CDC749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CDC749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC749
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC749#FFFFFF#000000##000000
##CDC7491.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C039
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc749;
/* rgb */ color: rgb(205, 199, 73);
/* oklch */ color: oklch(81.1% 0.145 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#cdc749',
    950: '#000000',
  },
}
SCSS
$custom: #cdc749;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc749",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 73
  },
  "hsl": {
    "h": 57.273,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81136,
    "c": 0.145,
    "h": 106.6
  },
  "luminance": 0.54307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC749

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

Preview Lab → · Contrast checker → · Palette generator →

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