#D7C347#D7C347

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

Color values

HEX#D7C347
RGBrgb(215, 195, 71)
HSLhsl(52, 64%, 56%)
HSVhsv(52, 67%, 84%)
CMYKcmyk(0%, 9.3%, 67%, 15.7%)
CIE-LABlab(78.42, -6.96, 62.32)
CIE-LCHlch(78.42, 62.71, 96.37°)
OKLaboklab(81.16% -0.0248 0.1402)
OKLCHoklch(81.16% 0.142 100)
XYZxyz(48.6789, 53.9344, 13.8063)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C347 #475BD7
analogous
#D77B47 #D7C347 #A3D747
triadic
#D7C347 #47D7C3 #C347D7
tetradic
#D7C347 #47D77B #475BD7 #D747A3
square
#D7C347 #47D77B #475BD7 #D747A3
split-complementary
#D7C347 #47A3D7 #7B47D7
monochromatic
#86781D #B9A528 #D7C347 #E2D379 #EDE4AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C347#FFFFFF#000000##000000
##D7C3471.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)
#D5BE36
Deuteranopia (green-blind)
#DBC54E
Tritanopia (blue-blind)
#E7B5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c347;
/* rgb */ color: rgb(215, 195, 71);
/* oklch */ color: oklch(81.2% 0.142 100.0);
Tailwind
colors: {
  custom: {
    50: '#e7d481',
    500: '#d7c347',
    950: '#000000',
  },
}
SCSS
$custom: #d7c347;
$custom-light: #e7d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c347",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 51.667,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81163,
    "c": 0.14233,
    "h": 100
  },
  "luminance": 0.53932
}

Semantic roles & 50–950 ramp

primary
#D7C347
secondary
#35428D
accent
#58E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C347

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

Preview Lab → · Contrast checker → · Palette generator →

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