#D5C84B#D5C84B

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

Color values

HEX#D5C84B
RGBrgb(213, 200, 75)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 6.1%, 64.8%, 16.5%)
CIE-LABlab(79.59, -10.13, 61.85)
CIE-LCHlch(79.59, 62.68, 99.30°)
OKLaboklab(82.06% -0.0332 0.1399)
OKLCHoklch(82.06% 0.144 103.4)
XYZxyz(49.3668, 55.9646, 14.8571)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C84B #4B58D5
analogous
#D5834B #D5C84B #9DD54B
triadic
#D5C84B #4BD5C8 #C84BD5
tetradic
#D5C84B #4BD583 #4B58D5 #D54B9D
square
#D5C84B #4BD583 #4B58D5 #D54B9D
split-complementary
#D5C84B #4B9DD5 #834BD5
monochromatic
#867D1F #B8AB2B #D5C84B #E1D77D #ECE6AE

Accessibility & contrast

On white

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

On black

12.19
#D5C84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C84B
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C84B#FFFFFF#000000##000000
##D5C84B1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23B
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#E4BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c84b;
/* rgb */ color: rgb(213, 200, 75);
/* oklch */ color: oklch(82.1% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5d883',
    500: '#d5c84b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c84b;
$custom-light: #e5d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c84b",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 54.348,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82061,
    "c": 0.14375,
    "h": 103.4
  },
  "luminance": 0.55963
}

Semantic roles & 50–950 ramp

primary
#D5C84B
secondary
#373F8D
accent
#52E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C84B

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

Preview Lab → · Contrast checker → · Palette generator →

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