#D5C84F#D5C84F

#D5C84F is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.141 H 103.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D5C84F
RGBrgb(213, 200, 79)
HSLhsl(54, 61%, 57%)
HSVhsv(54, 63%, 84%)
CMYKcmyk(0%, 6.1%, 62.9%, 16.5%)
CIE-LABlab(79.63, -9.88, 60.22)
CIE-LCHlch(79.63, 61.02, 99.32°)
OKLaboklab(82.1% -0.0321 0.137)
OKLCHoklch(82.1% 0.141 103.2)
XYZxyz(49.5080, 56.0211, 15.6009)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C84F #4F5CD5
analogous
#D5854F #D5C84F #9FD54F
triadic
#D5C84F #4FD5C8 #C84FD5
tetradic
#D5C84F #4FD585 #4F5CD5 #D54F9F
square
#D5C84F #4FD585 #4F5CD5 #D54F9F
split-complementary
#D5C84F #4F9FD5 #854FD5
monochromatic
#897F21 #BAAD2C #D5C84F #E1D780 #EDE7B2

Accessibility & contrast

On white

1.72
#D5C84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D5C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C84F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C84F#FFFFFF#000000##000000
##D5C84F1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#E4BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c84f;
/* rgb */ color: rgb(213, 200, 79);
/* oklch */ color: oklch(82.1% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#e5d886',
    500: '#d5c84f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c84f;
$custom-light: #e5d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c84f",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 54.179,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82097,
    "c": 0.14071,
    "h": 103.2
  },
  "luminance": 0.56019
}

Semantic roles & 50–950 ramp

primary
#D5C84F
secondary
#39418F
accent
#53E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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