#CDC049#CDC049

#CDC049 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.138 H 103.1°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CDC049
RGBrgb(205, 192, 73)
HSLhsl(54, 57%, 55%)
HSVhsv(54, 64%, 80%)
CMYKcmyk(0%, 6.3%, 64.4%, 19.6%)
CIE-LABlab(76.78, -9.54, 59.51)
CIE-LCHlch(76.78, 60.27, 99.10°)
OKLaboklab(79.65% -0.0313 0.1348)
OKLCHoklch(79.65% 0.138 103.1)
XYZxyz(45.2308, 51.1612, 13.7946)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC049 #4956CD
analogous
#CD7E49 #CDC049 #98CD49
triadic
#CDC049 #49CDC0 #C049CD
tetradic
#CDC049 #49CD7E #4956CD #CD4998
square
#CDC049 #49CD7E #4956CD #CD4998
split-complementary
#CDC049 #4998CD #7E49CD
monochromatic
#7A7122 #AA9E2F #CDC049 #DAD179 #E7E1A9

Accessibility & contrast

On white

1.87
#CDC049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CDC049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC049
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC049#FFFFFF#000000##000000
##CDC0491.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3A
Deuteranopia (green-blind)
#D5C050
Tritanopia (blue-blind)
#DCB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdc049;
/* rgb */ color: rgb(205, 192, 73);
/* oklch */ color: oklch(79.7% 0.138 103.1);
Tailwind
colors: {
  custom: {
    50: '#dfd281',
    500: '#cdc049',
    950: '#000000',
  },
}
SCSS
$custom: #cdc049;
$custom-light: #dfd281;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc049",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 54.091,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79653,
    "c": 0.13841,
    "h": 103.1
  },
  "luminance": 0.51159
}

Semantic roles & 50–950 ramp

primary
#CDC049
secondary
#383F82
accent
#57E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC049

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

Preview Lab → · Contrast checker → · Palette generator →

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