#D5CC71#D5CC71

#D5CC71 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.114 H 103.6°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D5CC71
RGBrgb(213, 204, 113)
HSLhsl(55, 54%, 64%)
HSVhsv(55, 47%, 84%)
CMYKcmyk(0%, 4.2%, 46.9%, 16.5%)
CIE-LABlab(81.03, -9.25, 46.19)
CIE-LCHlch(81.03, 47.10, 101.33°)
OKLaboklab(83.33% -0.0266 0.1104)
OKLCHoklch(83.33% 0.114 103.6)
XYZxyz(52.0154, 58.5257, 24.1762)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC71 #717AD5
analogous
#D59A71 #D5CC71 #ACD571
triadic
#D5CC71 #71D5CC #CC71D5
tetradic
#D5CC71 #71D59A #717AD5 #D571AC
square
#D5CC71 #71D59A #717AD5 #D571AC
split-complementary
#D5CC71 #71ACD5 #9A71D5
monochromatic
#9D932E #C7BB42 #D5CC71 #E3DDA0 #F1EECF

Accessibility & contrast

On white

1.65
#D5CC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D5CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC71
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC71#FFFFFF#000000##000000
##D5CC711.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC669
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#E2C1B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc71;
/* rgb */ color: rgb(213, 204, 113);
/* oklch */ color: oklch(83.3% 0.114 103.6);
Tailwind
colors: {
  custom: {
    50: '#e4db9b',
    500: '#d5cc71',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc71;
$custom-light: #e4db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc71",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 54.6,
    "s": 54.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83326,
    "c": 0.11356,
    "h": 103.6
  },
  "luminance": 0.58524
}

Semantic roles & 50–950 ramp

primary
#D5CC71
secondary
#4951A2
accent
#32C224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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