#D7C349#D7C349

#D7C349 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.141 H 99.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D7C349
RGBrgb(215, 195, 73)
HSLhsl(52, 64%, 56%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 9.3%, 66%, 15.7%)
CIE-LABlab(78.44, -6.84, 61.52)
CIE-LCHlch(78.44, 61.90, 96.35°)
OKLaboklab(81.18% -0.0242 0.1388)
OKLCHoklch(81.18% 0.141 99.9)
XYZxyz(48.7441, 53.9605, 14.1499)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C349 #495DD7
analogous
#D77C49 #D7C349 #A4D749
triadic
#D7C349 #49D7C3 #C349D7
tetradic
#D7C349 #49D77C #495DD7 #D749A4
square
#D7C349 #49D77C #495DD7 #D749A4
split-complementary
#D7C349 #49A4D7 #7C49D7
monochromatic
#88791E #BAA629 #D7C349 #E2D47B #EDE4AD

Accessibility & contrast

On white

1.78
#D7C349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D7C349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C349
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C349#FFFFFF#000000##000000
##D7C3491.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE39
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#E7B5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c349;
/* rgb */ color: rgb(215, 195, 73);
/* oklch */ color: oklch(81.2% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e7d482',
    500: '#d7c349',
    950: '#000000',
  },
}
SCSS
$custom: #d7c349;
$custom-light: #e7d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c349",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 51.549,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8118,
    "c": 0.14089,
    "h": 99.9
  },
  "luminance": 0.53958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C349

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

Preview Lab → · Contrast checker → · Palette generator →

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