#D5C147#D5C147

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

Color values

HEX#D5C147
RGBrgb(213, 193, 71)
HSLhsl(52, 63%, 56%)
HSVhsv(52, 67%, 84%)
CMYKcmyk(0%, 9.4%, 66.7%, 16.5%)
CIE-LABlab(77.72, -6.78, 61.54)
CIE-LCHlch(77.72, 61.91, 96.28°)
OKLaboklab(80.57% -0.0241 0.1386)
OKLCHoklch(80.57% 0.141 99.9)
XYZxyz(47.6500, 52.7431, 13.6305)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C147 #475BD5
analogous
#D57A47 #D5C147 #A2D547
triadic
#D5C147 #47D5C1 #C147D5
tetradic
#D5C147 #47D57A #475BD5 #D547A2
square
#D5C147 #47D57A #475BD5 #D547A2
split-complementary
#D5C147 #47A2D5 #7A47D5
monochromatic
#84751E #B5A229 #D5C147 #E0D279 #ECE3AB

Accessibility & contrast

On white

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

On black

11.55
#D5C147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C147
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C147#FFFFFF#000000##000000
##D5C1471.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#E5B3A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c147;
/* rgb */ color: rgb(213, 193, 71);
/* oklch */ color: oklch(80.6% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e5d380',
    500: '#d5c147',
    950: '#000000',
  },
}
SCSS
$custom: #d5c147;
$custom-light: #e5d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c147",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 51.549,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80566,
    "c": 0.14066,
    "h": 99.9
  },
  "luminance": 0.52741
}

Semantic roles & 50–950 ramp

primary
#D5C147
secondary
#36428A
accent
#59E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C147

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

Preview Lab → · Contrast checker → · Palette generator →

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