#D7C63E#D7C63E

#D7C63E is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.151 H 102.0°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D7C63E
RGBrgb(215, 198, 62)
HSLhsl(53, 66%, 54%)
HSVhsv(53, 71%, 84%)
CMYKcmyk(0%, 7.9%, 71.2%, 15.7%)
CIE-LABlab(79.15, -8.96, 66.53)
CIE-LCHlch(79.15, 67.13, 97.67°)
OKLaboklab(81.72% -0.0314 0.1475)
OKLCHoklch(81.72% 0.151 102)
XYZxyz(49.0901, 55.1852, 12.6225)
Luminance0.5518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C63E #3E4FD7
analogous
#D77A3E #D7C63E #9CD73E
triadic
#D7C63E #3ED7C6 #C63ED7
tetradic
#D7C63E #3ED77A #3E4FD7 #D73E9C
square
#D7C63E #3ED77A #3E4FD7 #D73E9C
split-complementary
#D7C63E #3E9CD7 #7A3ED7
monochromatic
#80751B #B3A325 #D7C63E #E2D571 #ECE4A3

Accessibility & contrast

On white

1.74
#D7C63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D7C63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C63E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C63E#FFFFFF#000000##000000
##D7C63E1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C028
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#E7B8AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c63e;
/* rgb */ color: rgb(215, 198, 62);
/* oklch */ color: oklch(81.7% 0.151 102.0);
Tailwind
colors: {
  custom: {
    50: '#e7d67c',
    500: '#d7c63e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c63e;
$custom-light: #e7d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c63e",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 62
  },
  "hsl": {
    "h": 53.333,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81718,
    "c": 0.15081,
    "h": 102
  },
  "luminance": 0.55183
}

Semantic roles & 50–950 ramp

primary
#D7C63E
secondary
#323B87
accent
#52E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7C63E

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

Preview Lab → · Contrast checker → · Palette generator →

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