#D7C849#D7C849

#D7C849 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.145 H 102.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D7C849
RGBrgb(215, 200, 73)
HSLhsl(54, 64%, 56%)
HSVhsv(54, 66%, 84%)
CMYKcmyk(0%, 7%, 66%, 15.7%)
CIE-LABlab(79.75, -9.40, 62.88)
CIE-LCHlch(79.75, 63.58, 98.50°)
OKLaboklab(82.22% -0.0315 0.1417)
OKLCHoklch(82.22% 0.145 102.5)
XYZxyz(49.8832, 56.2387, 14.5296)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C849 #4958D7
analogous
#D78149 #D7C849 #9FD749
triadic
#D7C849 #49D7C8 #C849D7
tetradic
#D7C849 #49D781 #4958D7 #D7499F
square
#D7C849 #49D781 #4958D7 #D7499F
split-complementary
#D7C849 #499FD7 #8149D7
monochromatic
#887D1E #BAAB29 #D7C849 #E2D77B #EDE6AD

Accessibility & contrast

On white

1.71
#D7C849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D7C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C849
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C849#FFFFFF#000000##000000
##D7C8491.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DEC951
Tritanopia (blue-blind)
#E7BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c849;
/* rgb */ color: rgb(215, 200, 73);
/* oklch */ color: oklch(82.2% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#e7d882',
    500: '#d7c849',
    950: '#000000',
  },
}
SCSS
$custom: #d7c849;
$custom-light: #e7d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c849",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 53.662,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82221,
    "c": 0.14512,
    "h": 102.5
  },
  "luminance": 0.56237
}

Semantic roles & 50–950 ramp

primary
#D7C849
secondary
#363F8E
accent
#52E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C849

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

Preview Lab → · Contrast checker → · Palette generator →

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