#D8CA74#D8CA74

#D8CA74 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.109 H 100.2°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D8CA74
RGBrgb(216, 202, 116)
HSLhsl(52, 56%, 65%)
HSVhsv(52, 46%, 85%)
CMYKcmyk(0%, 6.5%, 46.3%, 15.3%)
CIE-LABlab(80.80, -6.74, 44.48)
CIE-LCHlch(80.80, 44.99, 98.61°)
OKLaboklab(83.21% -0.0192 0.1068)
OKLCHoklch(83.21% 0.109 100.2)
XYZxyz(52.5932, 58.1027, 24.9641)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA74 #7482D8
analogous
#D89874 #D8CA74 #B4D874
triadic
#D8CA74 #74D8CA #CA74D8
tetradic
#D8CA74 #74D898 #7482D8 #D874B4
square
#D8CA74 #74D898 #7482D8 #D874B4
split-complementary
#D8CA74 #74B4D8 #9874D8
monochromatic
#A4932E #CBB844 #D8CA74 #E5DCA4 #F3EED4

Accessibility & contrast

On white

1.66
#D8CA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D8CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA74
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA74#FFFFFF#000000##000000
##D8CA741.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56D
Deuteranopia (green-blind)
#DDCB78
Tritanopia (blue-blind)
#E5BFB5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8ca74;
/* rgb */ color: rgb(216, 202, 116);
/* oklch */ color: oklch(83.2% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#e6d99d',
    500: '#d8ca74',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca74;
$custom-light: #e6d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca74",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 51.6,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83213,
    "c": 0.10851,
    "h": 100.2
  },
  "luminance": 0.58101
}

Semantic roles & 50–950 ramp

primary
#D8CA74
secondary
#4956A7
accent
#38C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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