#D7C049#D7C049

#D7C049 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.138 H 98.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D7C049
RGBrgb(215, 192, 73)
HSLhsl(50, 64%, 56%)
HSVhsv(50, 66%, 84%)
CMYKcmyk(0%, 10.7%, 66%, 15.7%)
CIE-LABlab(77.66, -5.30, 60.70)
CIE-LCHlch(77.66, 60.93, 94.99°)
OKLaboklab(80.56% -0.0198 0.1371)
OKLCHoklch(80.56% 0.138 98.2)
XYZxyz(48.0787, 52.6297, 13.9281)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C049 #4960D7
analogous
#D77949 #D7C049 #A7D749
triadic
#D7C049 #49D7C0 #C049D7
tetradic
#D7C049 #49D779 #4960D7 #D749A7
square
#D7C049 #49D779 #4960D7 #D749A7
split-complementary
#D7C049 #49A7D7 #7949D7
monochromatic
#88771E #BAA229 #D7C049 #E2D17B #EDE3AD

Accessibility & contrast

On white

1.82
#D7C049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D7C049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C049
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C049#FFFFFF#000000##000000
##D7C0491.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3A
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#E7B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c049;
/* rgb */ color: rgb(215, 192, 73);
/* oklch */ color: oklch(80.6% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#e7d281',
    500: '#d7c049',
    950: '#000000',
  },
}
SCSS
$custom: #d7c049;
$custom-light: #e7d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c049",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 50.282,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8056,
    "c": 0.13849,
    "h": 98.2
  },
  "luminance": 0.52627
}

Semantic roles & 50–950 ramp

primary
#D7C049
secondary
#36448E
accent
#5CE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C049

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

Preview Lab → · Contrast checker → · Palette generator →

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