#D7C45D#D7C45D

#D7C45D is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.125 H 99.0°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D7C45D
RGBrgb(215, 196, 93)
HSLhsl(51, 60%, 60%)
HSVhsv(51, 57%, 84%)
CMYKcmyk(0%, 8.8%, 56.7%, 15.7%)
CIE-LABlab(78.88, -6.03, 53.22)
CIE-LCHlch(78.88, 53.56, 96.47°)
OKLaboklab(81.59% -0.0196 0.1239)
OKLCHoklch(81.59% 0.125 99)
XYZxyz(49.7419, 54.7193, 18.2955)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C45D #5D70D7
analogous
#D7875D #D7C45D #ADD75D
triadic
#D7C45D #5DD7C4 #C45DD7
tetradic
#D7C45D #5DD787 #5D70D7 #D75DAD
square
#D7C45D #5DD787 #5D70D7 #D75DAD
split-complementary
#D7C45D #5DADD7 #875DD7
monochromatic
#958325 #C6AF31 #D7C45D #E3D68E #EFE8BF

Accessibility & contrast

On white

1.76
#D7C45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D7C45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C45D
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C45D#FFFFFF#000000##000000
##D7C45D1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF53
Deuteranopia (green-blind)
#DAC662
Tritanopia (blue-blind)
#E6B8AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c45d;
/* rgb */ color: rgb(215, 196, 93);
/* oklch */ color: oklch(81.6% 0.125 99.0);
Tailwind
colors: {
  custom: {
    50: '#e6d58e',
    500: '#d7c45d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c45d;
$custom-light: #e6d58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c45d",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 50.656,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81587,
    "c": 0.12539,
    "h": 99
  },
  "luminance": 0.54717
}

Semantic roles & 50–950 ramp

primary
#D7C45D
secondary
#3E4D9A
accent
#38C81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7C45D

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

Preview Lab → · Contrast checker → · Palette generator →

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