#D5C247#D5C247

#D5C247 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.141 H 100.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D5C247
RGBrgb(213, 194, 71)
HSLhsl(52, 63%, 56%)
HSVhsv(52, 67%, 84%)
CMYKcmyk(0%, 8.9%, 66.7%, 16.5%)
CIE-LABlab(77.99, -7.29, 61.81)
CIE-LCHlch(77.99, 62.24, 96.73°)
OKLaboklab(80.77% -0.0256 0.1391)
OKLCHoklch(80.77% 0.141 100.4)
XYZxyz(47.8718, 53.1868, 13.7045)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C247 #475AD5
analogous
#D57B47 #D5C247 #A1D547
triadic
#D5C247 #47D5C2 #C247D5
tetradic
#D5C247 #47D57B #475AD5 #D547A1
square
#D5C247 #47D57B #475AD5 #D547A1
split-complementary
#D5C247 #47A1D5 #7B47D5
monochromatic
#84761E #B5A329 #D5C247 #E0D379 #ECE3AB

Accessibility & contrast

On white

1.80
#D5C247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D5C247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C247
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C247#FFFFFF#000000##000000
##D5C2471.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#E5B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c247;
/* rgb */ color: rgb(213, 194, 71);
/* oklch */ color: oklch(80.8% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#e5d480',
    500: '#d5c247',
    950: '#000000',
  },
}
SCSS
$custom: #d5c247;
$custom-light: #e5d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c247",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 51.972,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80774,
    "c": 0.14148,
    "h": 100.4
  },
  "luminance": 0.53185
}

Semantic roles & 50–950 ramp

primary
#D5C247
secondary
#36418A
accent
#58E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C247

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

Preview Lab → · Contrast checker → · Palette generator →

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