#CDD671#CDD671

#CDD671 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.8% C 0.126 H 113.3°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#CDD671
RGBrgb(205, 214, 113)
HSLhsl(65, 55%, 64%)
HSVhsv(65, 47%, 84%)
CMYKcmyk(4.2%, 0%, 47.2%, 16.1%)
CIE-LABlab(83.05, -17.48, 48.50)
CIE-LCHlch(83.05, 51.55, 109.82°)
OKLaboklab(84.78% -0.0497 0.1156)
OKLCHoklch(84.78% 0.126 113.3)
XYZxyz(52.2048, 62.2653, 24.8879)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD671 #7A71D6
analogous
#D6AD71 #CDD671 #9BD671
triadic
#CDD671 #71CDD6 #D671CD
tetradic
#CDD671 #71D6AD #7A71D6 #D6719B
square
#CDD671 #71D6AD #7A71D6 #D6719B
split-complementary
#CDD671 #719BD6 #AD71D6
monochromatic
#959F2E #BCC842 #CDD671 #DEE4A0 #EEF1D0

Accessibility & contrast

On white

1.56
#CDD671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#CDD671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD671
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD671#FFFFFF#000000##000000
##CDD6711.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#D8CCBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd671;
/* rgb */ color: rgb(205, 214, 113);
/* oklch */ color: oklch(84.8% 0.126 113.3);
Tailwind
colors: {
  custom: {
    50: '#dee29c',
    500: '#cdd671',
    950: '#000000',
  },
}
SCSS
$custom: #cdd671;
$custom-light: #dee29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd671",
  "rgb": {
    "r": 205,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 65.347,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84783,
    "c": 0.12584,
    "h": 113.3
  },
  "luminance": 0.62265
}

Semantic roles & 50–950 ramp

primary
#CDD671
secondary
#5048A3
accent
#23C331
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD671

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

Preview Lab → · Contrast checker → · Palette generator →

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