#D5CF54#D5CF54

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

Color values

HEX#D5CF54
RGBrgb(213, 207, 84)
HSLhsl(57, 61%, 58%)
HSVhsv(57, 61%, 84%)
CMYKcmyk(0%, 2.8%, 60.6%, 16.5%)
CIE-LABlab(81.52, -13.10, 60.13)
CIE-LCHlch(81.52, 61.54, 102.29°)
OKLaboklab(83.62% -0.0407 0.1375)
OKLCHoklch(83.62% 0.143 106.5)
XYZxyz(51.3553, 59.4135, 17.1485)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF54 #545AD5
analogous
#D58E54 #D5CF54 #9AD554
triadic
#D5CF54 #54D5CF #CF54D5
tetradic
#D5CF54 #54D58E #545AD5 #D5549A
square
#D5CF54 #54D58E #545AD5 #D5549A
split-complementary
#D5CF54 #549AD5 #8E54D5
monochromatic
#8C8722 #BDB72E #D5CF54 #E1DD85 #EDEBB6

Accessibility & contrast

On white

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

On black

12.88
#D5CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF54
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF54#FFFFFF#000000##000000
##D5CF541.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cf54;
/* rgb */ color: rgb(213, 207, 84);
/* oklch */ color: oklch(83.6% 0.143 106.5);
Tailwind
colors: {
  custom: {
    50: '#e5dd89',
    500: '#d5cf54',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf54;
$custom-light: #e5dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf54",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 57.209,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83616,
    "c": 0.1434,
    "h": 106.5
  },
  "luminance": 0.59412
}

Semantic roles & 50–950 ramp

primary
#D5CF54
secondary
#3B3F92
accent
#4CE444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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