#D5CC74#D5CC74

#D5CC74 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.110 H 103.4°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D5CC74
RGBrgb(213, 204, 116)
HSLhsl(54, 54%, 65%)
HSVhsv(54, 46%, 84%)
CMYKcmyk(0%, 4.2%, 45.5%, 16.5%)
CIE-LABlab(81.07, -8.97, 44.76)
CIE-LCHlch(81.07, 45.65, 101.33°)
OKLaboklab(83.37% -0.0255 0.1075)
OKLCHoklch(83.37% 0.11 103.4)
XYZxyz(52.1870, 58.5943, 25.0804)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC74 #747DD5
analogous
#D59C74 #D5CC74 #AED574
triadic
#D5CC74 #74D5CC #CC74D5
tetradic
#D5CC74 #74D59C #747DD5 #D574AE
square
#D5CC74 #74D59C #747DD5 #D574AE
split-complementary
#D5CC74 #74AED5 #9C74D5
monochromatic
#9F9430 #C7BB45 #D5CC74 #E3DDA3 #F1EED2

Accessibility & contrast

On white

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

On black

12.72
#D5CC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC74
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC74#FFFFFF#000000##000000
##D5CC741.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cc74;
/* rgb */ color: rgb(213, 204, 116);
/* oklch */ color: oklch(83.4% 0.110 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4db9e',
    500: '#d5cc74',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc74;
$custom-light: #e4db9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc74",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 116
  },
  "hsl": {
    "h": 54.433,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83368,
    "c": 0.11044,
    "h": 103.4
  },
  "luminance": 0.58593
}

Semantic roles & 50–950 ramp

primary
#D5CC74
secondary
#4A52A3
accent
#33C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CC74

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

Preview Lab → · Contrast checker → · Palette generator →

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