#D2CA74#D2CA74

#D2CA74 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.108 H 103.8°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D2CA74
RGBrgb(210, 202, 116)
HSLhsl(55, 51%, 64%)
HSVhsv(55, 45%, 82%)
CMYKcmyk(0%, 3.8%, 44.8%, 17.6%)
CIE-LABlab(80.29, -9.16, 43.75)
CIE-LCHlch(80.29, 44.70, 101.82°)
OKLaboklab(82.7% -0.0259 0.1052)
OKLCHoklch(82.7% 0.108 103.8)
XYZxyz(50.8524, 57.2051, 24.8825)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA74 #747CD2
analogous
#D29B74 #D2CA74 #ABD274
triadic
#D2CA74 #74D2CA #CA74D2
tetradic
#D2CA74 #74D29B #747CD2 #D274AB
square
#D2CA74 #74D29B #747CD2 #D274AB
split-complementary
#D2CA74 #74ABD2 #9B74D2
monochromatic
#9A9132 #C3B846 #D2CA74 #E1DCA2 #F0EDD0

Accessibility & contrast

On white

1.69
#D2CA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#D2CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA74
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA74#FFFFFF#000000##000000
##D2CA741.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#DBC978
Tritanopia (blue-blind)
#DEC0B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca74;
/* rgb */ color: rgb(210, 202, 116);
/* oklch */ color: oklch(82.7% 0.108 103.8);
Tailwind
colors: {
  custom: {
    50: '#e1da9d',
    500: '#d2ca74',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca74;
$custom-light: #e1da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca74",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 54.894,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82695,
    "c": 0.10837,
    "h": 103.8
  },
  "luminance": 0.57204
}

Semantic roles & 50–950 ramp

primary
#D2CA74
secondary
#4B529F
accent
#34BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D2CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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