#D7CD5A#D7CD5A

#D7CD5A is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.136 H 104.3°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D7CD5A
RGBrgb(215, 205, 90)
HSLhsl(55, 61%, 60%)
HSVhsv(55, 58%, 84%)
CMYKcmyk(0%, 4.7%, 58.1%, 15.7%)
CIE-LABlab(81.21, -10.85, 57.22)
CIE-LCHlch(81.21, 58.23, 100.73°)
OKLaboklab(83.43% -0.0337 0.1321)
OKLCHoklch(83.43% 0.136 104.3)
XYZxyz(51.7029, 58.8497, 18.3065)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD5A #5A64D7
analogous
#D78F5A #D7CD5A #A3D75A
triadic
#D7CD5A #5AD7CD #CD5AD7
tetradic
#D7CD5A #5AD78F #5A64D7 #D75AA3
square
#D7CD5A #5AD78F #5A64D7 #D75AA3
split-complementary
#D7CD5A #5AA3D7 #8F5AD7
monochromatic
#938A24 #C4B830 #D7CD5A #E3DC8B #EFEBBD

Accessibility & contrast

On white

1.64
#D7CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#D7CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD5A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD5A#FFFFFF#000000##000000
##D7CD5A1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC74E
Deuteranopia (green-blind)
#E1CC60
Tritanopia (blue-blind)
#E6C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd5a;
/* rgb */ color: rgb(215, 205, 90);
/* oklch */ color: oklch(83.4% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#e6dc8d',
    500: '#d7cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd5a;
$custom-light: #e6dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd5a",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 55.2,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83427,
    "c": 0.13629,
    "h": 104.3
  },
  "luminance": 0.58848
}

Semantic roles & 50–950 ramp

primary
#D7CD5A
secondary
#3D4498
accent
#51E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D7CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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