#D7C05A#D7C05A

#D7C05A is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.125 H 96.8°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D7C05A
RGBrgb(215, 192, 90)
HSLhsl(49, 61%, 60%)
HSVhsv(49, 58%, 84%)
CMYKcmyk(0%, 10.7%, 58.1%, 15.7%)
CIE-LABlab(77.81, -4.19, 53.39)
CIE-LCHlch(77.81, 53.55, 94.49°)
OKLaboklab(80.73% -0.0147 0.1239)
OKLCHoklch(80.73% 0.125 96.8)
XYZxyz(48.7214, 52.8867, 17.3127)
Luminance0.5289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C05A #5A71D7
analogous
#D7825A #D7C05A #B0D75A
triadic
#D7C05A #5AD7C0 #C05AD7
tetradic
#D7C05A #5AD782 #5A71D7 #D75AB0
square
#D7C05A #5AD782 #5A71D7 #D75AB0
split-complementary
#D7C05A #5AB0D7 #825AD7
monochromatic
#937E24 #C4A930 #D7C05A #E3D38B #EFE6BD

Accessibility & contrast

On white

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

On black

11.58
#D7C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C05A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C05A#FFFFFF#000000##000000
##D7C05A1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC50
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#E6B3A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c05a;
/* rgb */ color: rgb(215, 192, 90);
/* oklch */ color: oklch(80.7% 0.125 96.8);
Tailwind
colors: {
  custom: {
    50: '#e6d28c',
    500: '#d7c05a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c05a;
$custom-light: #e6d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c05a",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 48.96,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80729,
    "c": 0.12471,
    "h": 96.8
  },
  "luminance": 0.52885
}

Semantic roles & 50–950 ramp

primary
#D7C05A
secondary
#3D4E98
accent
#61E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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