#D7C53E#D7C53E

#D7C53E is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.150 H 101.5°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D7C53E
RGBrgb(215, 197, 62)
HSLhsl(53, 66%, 54%)
HSVhsv(53, 71%, 84%)
CMYKcmyk(0%, 8.4%, 71.2%, 15.7%)
CIE-LABlab(78.89, -8.45, 66.27)
CIE-LCHlch(78.89, 66.81, 97.26°)
OKLaboklab(81.51% -0.03 0.147)
OKLCHoklch(81.51% 0.15 101.5)
XYZxyz(48.8623, 54.7295, 12.5466)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C53E #3E50D7
analogous
#D7793E #D7C53E #9DD73E
triadic
#D7C53E #3ED7C5 #C53ED7
tetradic
#D7C53E #3ED779 #3E50D7 #D73E9D
square
#D7C53E #3ED779 #3E50D7 #D73E9D
split-complementary
#D7C53E #3E9DD7 #793ED7
monochromatic
#80741B #B3A225 #D7C53E #E2D471 #ECE3A3

Accessibility & contrast

On white

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

On black

11.95
#D7C53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C53E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C53E#FFFFFF#000000##000000
##D7C53E1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF28
Deuteranopia (green-blind)
#DCC747
Tritanopia (blue-blind)
#E7B7AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c53e;
/* rgb */ color: rgb(215, 197, 62);
/* oklch */ color: oklch(81.5% 0.150 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7d67c',
    500: '#d7c53e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c53e;
$custom-light: #e7d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c53e",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 52.941,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8151,
    "c": 0.14998,
    "h": 101.5
  },
  "luminance": 0.54727
}

Semantic roles & 50–950 ramp

primary
#D7C53E
secondary
#323C87
accent
#53E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7C53E

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

Preview Lab → · Contrast checker → · Palette generator →

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