#D7C05E#D7C05E

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

Color values

HEX#D7C05E
RGBrgb(215, 192, 94)
HSLhsl(49, 60%, 61%)
HSVhsv(49, 56%, 84%)
CMYKcmyk(0%, 10.7%, 56.3%, 15.7%)
CIE-LABlab(77.85, -3.89, 51.57)
CIE-LCHlch(77.85, 51.72, 94.31°)
OKLaboklab(80.77% -0.0133 0.1204)
OKLCHoklch(80.77% 0.121 96.3)
XYZxyz(48.8962, 52.9567, 18.2336)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C05E #5E75D7
analogous
#D7835E #D7C05E #B1D75E
triadic
#D7C05E #5ED7C0 #C05ED7
tetradic
#D7C05E #5ED783 #5E75D7 #D75EB1
square
#D7C05E #5ED783 #5E75D7 #D75EB1
split-complementary
#D7C05E #5EB1D7 #835ED7
monochromatic
#958025 #C6AA31 #D7C05E #E3D38F #EFE6C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C05E#FFFFFF#000000##000000
##D7C05E1.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)
#D1BC55
Deuteranopia (green-blind)
#D7C462
Tritanopia (blue-blind)
#E6B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c05e;
/* rgb */ color: rgb(215, 192, 94);
/* oklch */ color: oklch(80.8% 0.121 96.3);
Tailwind
colors: {
  custom: {
    50: '#e6d28e',
    500: '#d7c05e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c05e;
$custom-light: #e6d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c05e",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 48.595,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80775,
    "c": 0.12114,
    "h": 96.3
  },
  "luminance": 0.52954
}

Semantic roles & 50–950 ramp

primary
#D7C05E
secondary
#3F509A
accent
#3EC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7C05E

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

Preview Lab → · Contrast checker → · Palette generator →

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