#D5CF48#D5CF48

#D5CF48 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.152 H 106.8°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D5CF48
RGBrgb(213, 207, 72)
HSLhsl(57, 63%, 56%)
HSVhsv(57, 66%, 84%)
CMYKcmyk(0%, 2.8%, 66.2%, 16.5%)
CIE-LABlab(81.42, -13.83, 64.95)
CIE-LCHlch(81.42, 66.41, 102.02°)
OKLaboklab(83.51% -0.044 0.1459)
OKLCHoklch(83.51% 0.152 106.8)
XYZxyz(50.9250, 59.2414, 14.8818)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF48 #484ED5
analogous
#D58848 #D5CF48 #94D548
triadic
#D5CF48 #48D5CF #CF48D5
tetradic
#D5CF48 #48D588 #484ED5 #D54894
square
#D5CF48 #48D588 #484ED5 #D54894
split-complementary
#D5CF48 #4894D5 #8848D5
monochromatic
#84801E #B6B02A #D5CF48 #E0DC7A #ECE9AC

Accessibility & contrast

On white

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

On black

12.85
#D5CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF48
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF48#FFFFFF#000000##000000
##D5CF481.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C735
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#E4C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf48;
/* rgb */ color: rgb(213, 207, 72);
/* oklch */ color: oklch(83.5% 0.152 106.8);
Tailwind
colors: {
  custom: {
    50: '#e5dd82',
    500: '#d5cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf48;
$custom-light: #e5dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf48",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 57.447,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8351,
    "c": 0.15243,
    "h": 106.8
  },
  "luminance": 0.5924
}

Semantic roles & 50–950 ramp

primary
#D5CF48
secondary
#363A8B
accent
#49E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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