#CDD247#CDD247

#CDD247 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.158 H 111.4°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CDD247
RGBrgb(205, 210, 71)
HSLhsl(62, 61%, 55%)
HSVhsv(62, 66%, 82%)
CMYKcmyk(2.4%, 0%, 66.2%, 17.6%)
CIE-LABlab(81.58, -18.70, 65.30)
CIE-LCHlch(81.58, 67.92, 105.99°)
OKLaboklab(83.48% -0.0574 0.1467)
OKLCHoklch(83.48% 0.158 111.4)
XYZxyz(49.3623, 59.5285, 14.8499)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD247 #4C47D2
analogous
#D29147 #CDD247 #88D247
triadic
#CDD247 #47CDD2 #D247CD
tetradic
#CDD247 #47D291 #4C47D2 #D24788
square
#CDD247 #47D291 #4C47D2 #D24788
split-complementary
#CDD247 #4788D2 #9147D2
monochromatic
#7C7F1F #ACB12B #CDD247 #DADE78 #E8EAA9

Accessibility & contrast

On white

1.63
#CDD247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CDD247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD247
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD247#FFFFFF#000000##000000
##CDD2471.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C933
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#DBC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd247;
/* rgb */ color: rgb(205, 210, 71);
/* oklch */ color: oklch(83.5% 0.158 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfdf82',
    500: '#cdd247',
    950: '#000000',
  },
}
SCSS
$custom: #cdd247;
$custom-light: #dfdf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd247",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 71
  },
  "hsl": {
    "h": 62.158,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83478,
    "c": 0.15755,
    "h": 111.4
  },
  "luminance": 0.59527
}

Semantic roles & 50–950 ramp

primary
#CDD247
secondary
#393687
accent
#44E44A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD247

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

Preview Lab → · Contrast checker → · Palette generator →

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