#CDC748#CDC748

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

Color values

HEX#CDC748
RGBrgb(205, 199, 72)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 65%, 80%)
CMYKcmyk(0%, 2.9%, 64.9%, 19.6%)
CIE-LABlab(78.63, -13.16, 61.87)
CIE-LCHlch(78.63, 63.25, 102.01°)
OKLaboklab(81.13% -0.0417 0.1397)
OKLCHoklch(81.13% 0.146 106.6)
XYZxyz(46.7716, 54.2954, 14.1460)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC748 #484ECD
analogous
#CD8548 #CDC748 #91CD48
triadic
#CDC748 #48CDC7 #C748CD
tetradic
#CDC748 #48CD85 #484ECD #CD4891
square
#CDC748 #48CD85 #484ECD #CD4891
split-complementary
#CDC748 #4891CD #8548CD
monochromatic
#797521 #A9A42E #CDC748 #DAD678 #E7E4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC748#FFFFFF#000000##000000
##CDC7481.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)
#D7C037
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc748;
/* rgb */ color: rgb(205, 199, 72);
/* oklch */ color: oklch(81.1% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd781',
    500: '#cdc748',
    950: '#000000',
  },
}
SCSS
$custom: #cdc748;
$custom-light: #dfd781;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc748",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 57.293,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81128,
    "c": 0.14574,
    "h": 106.6
  },
  "luminance": 0.54294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC748

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

Preview Lab → · Contrast checker → · Palette generator →

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