#D7C05D#D7C05D

#D7C05D is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.122 H 96.4°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D7C05D
RGBrgb(215, 192, 93)
HSLhsl(49, 60%, 60%)
HSVhsv(49, 57%, 84%)
CMYKcmyk(0%, 10.7%, 56.7%, 15.7%)
CIE-LABlab(77.84, -3.96, 52.03)
CIE-LCHlch(77.84, 52.18, 94.36°)
OKLaboklab(80.76% -0.0137 0.1213)
OKLCHoklch(80.76% 0.122 96.4)
XYZxyz(48.8516, 52.9388, 17.9988)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C05D #5D74D7
analogous
#D7835D #D7C05D #B1D75D
triadic
#D7C05D #5DD7C0 #C05DD7
tetradic
#D7C05D #5DD783 #5D74D7 #D75DB1
square
#D7C05D #5DD783 #5D74D7 #D75DB1
split-complementary
#D7C05D #5DB1D7 #835DD7
monochromatic
#958025 #C6AA31 #D7C05D #E3D38E #EFE6BF

Accessibility & contrast

On white

1.81
#D7C05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D7C05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C05D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C05D#FFFFFF#000000##000000
##D7C05D1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC53
Deuteranopia (green-blind)
#D7C461
Tritanopia (blue-blind)
#E6B3AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c05d;
/* rgb */ color: rgb(215, 192, 93);
/* oklch */ color: oklch(80.8% 0.122 96.4);
Tailwind
colors: {
  custom: {
    50: '#e6d28e',
    500: '#d7c05d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c05d;
$custom-light: #e6d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c05d",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 48.689,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80763,
    "c": 0.12204,
    "h": 96.4
  },
  "luminance": 0.52937
}

Semantic roles & 50–950 ramp

primary
#D7C05D
secondary
#3E509A
accent
#3EC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7C05D

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

Preview Lab → · Contrast checker → · Palette generator →

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