#D0CA74#D0CA74

#D0CA74 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.108 H 105.0°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D0CA74
RGBrgb(208, 202, 116)
HSLhsl(56, 49%, 64%)
HSVhsv(56, 44%, 82%)
CMYKcmyk(0%, 2.9%, 44.2%, 18.4%)
CIE-LABlab(80.13, -9.96, 43.51)
CIE-LCHlch(80.13, 44.64, 102.89°)
OKLaboklab(82.53% -0.0281 0.1047)
OKLCHoklch(82.53% 0.108 105)
XYZxyz(50.2864, 56.9132, 24.8560)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA74 #747AD0
analogous
#D09C74 #D0CA74 #A8D074
triadic
#D0CA74 #74D0CA #CA74D0
tetradic
#D0CA74 #74D09C #747AD0 #D074A8
square
#D0CA74 #74D09C #747AD0 #D074A8
split-complementary
#D0CA74 #74A8D0 #9C74D0
monochromatic
#979033 #C1B946 #D0CA74 #DFDBA2 #EFEDCF

Accessibility & contrast

On white

1.70
#D0CA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D0CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA74
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA74#FFFFFF#000000##000000
##D0CA741.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46D
Deuteranopia (green-blind)
#DAC978
Tritanopia (blue-blind)
#DCC0B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0ca74;
/* rgb */ color: rgb(208, 202, 116);
/* oklch */ color: oklch(82.5% 0.108 105.0);
Tailwind
colors: {
  custom: {
    50: '#e0da9d',
    500: '#d0ca74',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca74;
$custom-light: #e0da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca74",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 56.087,
    "s": 49.462,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82525,
    "c": 0.10842,
    "h": 105
  },
  "luminance": 0.56912
}

Semantic roles & 50–950 ramp

primary
#D0CA74
secondary
#4C519C
accent
#32BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D0CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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