#CDC247#CDC247

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

Color values

HEX#CDC247
RGBrgb(205, 194, 71)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 65%, 80%)
CMYKcmyk(0%, 5.4%, 65.4%, 19.6%)
CIE-LABlab(77.29, -10.68, 60.88)
CIE-LCHlch(77.29, 61.81, 99.95°)
OKLaboklab(80.06% -0.0348 0.1374)
OKLCHoklch(80.06% 0.142 104.2)
XYZxyz(45.6077, 52.0194, 13.5984)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC247 #4752CD
analogous
#CD7F47 #CDC247 #95CD47
triadic
#CDC247 #47CDC2 #C247CD
tetradic
#CDC247 #47CD7F #4752CD #CD4795
square
#CDC247 #47CD7F #4752CD #CD4795
split-complementary
#CDC247 #4795CD #7F47CD
monochromatic
#797221 #A99F2E #CDC247 #DAD277 #E7E2A7

Accessibility & contrast

On white

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

On black

11.40
#CDC247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC247
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC247#FFFFFF#000000##000000
##CDC2471.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc247;
/* rgb */ color: rgb(205, 194, 71);
/* oklch */ color: oklch(80.1% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd480',
    500: '#cdc247',
    950: '#000000',
  },
}
SCSS
$custom: #cdc247;
$custom-light: #dfd480;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc247",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 55.075,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80058,
    "c": 0.14174,
    "h": 104.2
  },
  "luminance": 0.52018
}

Semantic roles & 50–950 ramp

primary
#CDC247
secondary
#373D81
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC247

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

Preview Lab → · Contrast checker → · Palette generator →

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