#D5CF56#D5CF56

#D5CF56 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.142 H 106.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D5CF56
RGBrgb(213, 207, 86)
HSLhsl(57, 60%, 59%)
HSVhsv(57, 60%, 84%)
CMYKcmyk(0%, 2.8%, 59.6%, 16.5%)
CIE-LABlab(81.54, -12.96, 59.29)
CIE-LCHlch(81.54, 60.69, 102.33°)
OKLaboklab(83.64% -0.0401 0.136)
OKLCHoklch(83.64% 0.142 106.4)
XYZxyz(51.4348, 59.4453, 17.5670)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF56 #565CD5
analogous
#D58F56 #D5CF56 #9BD556
triadic
#D5CF56 #56D5CF #CF56D5
tetradic
#D5CF56 #56D58F #565CD5 #D5569B
square
#D5CF56 #56D58F #565CD5 #D5569B
split-complementary
#D5CF56 #569BD5 #8F56D5
monochromatic
#8D8823 #BEB82F #D5CF56 #E1DD87 #EDEBB8

Accessibility & contrast

On white

1.63
#D5CF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D5CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF56
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF56#FFFFFF#000000##000000
##D5CF561.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC848
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#E3C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cf56;
/* rgb */ color: rgb(213, 207, 86);
/* oklch */ color: oklch(83.6% 0.142 106.4);
Tailwind
colors: {
  custom: {
    50: '#e5dd8a',
    500: '#d5cf56',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf56;
$custom-light: #e5dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf56",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 57.165,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83635,
    "c": 0.14177,
    "h": 106.4
  },
  "luminance": 0.59444
}

Semantic roles & 50–950 ramp

primary
#D5CF56
secondary
#3C4093
accent
#4CE344
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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