#CDC448#CDC448

#CDC448 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.143 H 105.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CDC448
RGBrgb(205, 196, 72)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 65%, 80%)
CMYKcmyk(0%, 4.4%, 64.9%, 19.6%)
CIE-LABlab(77.83, -11.64, 61.03)
CIE-LCHlch(77.83, 62.13, 100.80°)
OKLaboklab(80.49% -0.0374 0.1379)
OKLCHoklch(80.49% 0.143 105.2)
XYZxyz(46.0882, 52.9285, 13.9181)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC448 #4851CD
analogous
#CD8248 #CDC448 #94CD48
triadic
#CDC448 #48CDC4 #C448CD
tetradic
#CDC448 #48CD82 #4851CD #CD4894
square
#CDC448 #48CD82 #4851CD #CD4894
split-complementary
#CDC448 #4894CD #8248CD
monochromatic
#797321 #A9A12E #CDC448 #DAD378 #E7E3A8

Accessibility & contrast

On white

1.81
#CDC448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CDC448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC448
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC448#FFFFFF#000000##000000
##CDC4481.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#DCB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc448;
/* rgb */ color: rgb(205, 196, 72);
/* oklch */ color: oklch(80.5% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd581',
    500: '#cdc448',
    950: '#000000',
  },
}
SCSS
$custom: #cdc448;
$custom-light: #dfd581;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc448",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 55.94,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8049,
    "c": 0.14286,
    "h": 105.2
  },
  "luminance": 0.52927
}

Semantic roles & 50–950 ramp

primary
#CDC448
secondary
#383D82
accent
#52E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC448

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

Preview Lab → · Contrast checker → · Palette generator →

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