#D7C249#D7C249

#D7C249 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.140 H 99.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D7C249
RGBrgb(215, 194, 73)
HSLhsl(51, 64%, 56%)
HSVhsv(51, 66%, 84%)
CMYKcmyk(0%, 9.8%, 66%, 15.7%)
CIE-LABlab(78.18, -6.33, 61.25)
CIE-LCHlch(78.18, 61.57, 95.90°)
OKLaboklab(80.97% -0.0228 0.1382)
OKLCHoklch(80.97% 0.14 99.4)
XYZxyz(48.5208, 53.5139, 14.0755)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C249 #495ED7
analogous
#D77B49 #D7C249 #A5D749
triadic
#D7C249 #49D7C2 #C249D7
tetradic
#D7C249 #49D77B #495ED7 #D749A5
square
#D7C249 #49D77B #495ED7 #D749A5
split-complementary
#D7C249 #49A5D7 #7B49D7
monochromatic
#88781E #BAA429 #D7C249 #E2D37B #EDE4AD

Accessibility & contrast

On white

1.79
#D7C249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D7C249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C249
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C249#FFFFFF#000000##000000
##D7C2491.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD39
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#E7B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c249;
/* rgb */ color: rgb(215, 194, 73);
/* oklch */ color: oklch(81.0% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#e7d482',
    500: '#d7c249',
    950: '#000000',
  },
}
SCSS
$custom: #d7c249;
$custom-light: #e7d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c249",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 51.127,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80973,
    "c": 0.14007,
    "h": 99.4
  },
  "luminance": 0.53512
}

Semantic roles & 50–950 ramp

primary
#D7C249
secondary
#36438E
accent
#59E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C249

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

Preview Lab → · Contrast checker → · Palette generator →

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