#CDCC71#CDCC71

#CDCC71 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.114 H 108.1°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CDCC71
RGBrgb(205, 204, 113)
HSLhsl(59, 48%, 62%)
HSVhsv(59, 45%, 80%)
CMYKcmyk(0%, 0.5%, 44.9%, 19.6%)
CIE-LABlab(80.38, -12.48, 45.24)
CIE-LCHlch(80.38, 46.93, 105.42°)
OKLaboklab(82.65% -0.0354 0.1084)
OKLCHoklch(82.65% 0.114 108.1)
XYZxyz(49.7513, 57.3583, 24.0700)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC71 #7172CD
analogous
#CD9E71 #CDCC71 #A0CD71
triadic
#CDCC71 #71CDCC #CC71CD
tetradic
#CDCC71 #71CD9E #7172CD #CD71A0
square
#CDCC71 #71CD9E #7172CD #CD71A0
split-complementary
#CDCC71 #71A0CD #9E71CD
monochromatic
#919033 #BDBC44 #CDCC71 #DDDC9E #EDEDCC

Accessibility & contrast

On white

1.68
#CDCC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CDCC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC71
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC71#FFFFFF#000000##000000
##CDCC711.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C569
Deuteranopia (green-blind)
#DBC975
Tritanopia (blue-blind)
#D9C2B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc71;
/* rgb */ color: rgb(205, 204, 113);
/* oklch */ color: oklch(82.7% 0.114 108.1);
Tailwind
colors: {
  custom: {
    50: '#dedb9b',
    500: '#cdcc71',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc71;
$custom-light: #dedb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc71",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 59.348,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82652,
    "c": 0.11405,
    "h": 108.1
  },
  "luminance": 0.57357
}

Semantic roles & 50–950 ramp

primary
#CDCC71
secondary
#4B4C97
accent
#2CBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCC71

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

Preview Lab → · Contrast checker → · Palette generator →

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