#D7C949#D7C949

#D7C949 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.146 H 103.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D7C949
RGBrgb(215, 201, 73)
HSLhsl(54, 64%, 56%)
HSVhsv(54, 66%, 84%)
CMYKcmyk(0%, 6.5%, 66%, 15.7%)
CIE-LABlab(80.01, -9.91, 63.15)
CIE-LCHlch(80.01, 63.93, 98.92°)
OKLaboklab(82.43% -0.0329 0.1422)
OKLCHoklch(82.43% 0.146 103)
XYZxyz(50.1156, 56.7034, 14.6071)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C949 #4957D7
analogous
#D78249 #D7C949 #9ED749
triadic
#D7C949 #49D7C9 #C949D7
tetradic
#D7C949 #49D782 #4957D7 #D7499E
square
#D7C949 #49D782 #4957D7 #D7499E
split-complementary
#D7C949 #499ED7 #8249D7
monochromatic
#887D1E #BAAC29 #D7C949 #E2D87B #EDE7AD

Accessibility & contrast

On white

1.70
#D7C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D7C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C949
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C949#FFFFFF#000000##000000
##D7C9491.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC338
Deuteranopia (green-blind)
#DFC951
Tritanopia (blue-blind)
#E7BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c949;
/* rgb */ color: rgb(215, 201, 73);
/* oklch */ color: oklch(82.4% 0.146 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7d982',
    500: '#d7c949',
    950: '#000000',
  },
}
SCSS
$custom: #d7c949;
$custom-light: #e7d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c949",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 54.085,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8243,
    "c": 0.14601,
    "h": 103
  },
  "luminance": 0.56701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C949

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

Preview Lab → · Contrast checker → · Palette generator →

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