#D5CF45#D5CF45

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

Color values

HEX#D5CF45
RGBrgb(213, 207, 69)
HSLhsl(58, 63%, 55%)
HSVhsv(58, 68%, 84%)
CMYKcmyk(0%, 2.8%, 67.6%, 16.5%)
CIE-LABlab(81.40, -13.99, 66.09)
CIE-LCHlch(81.40, 67.55, 101.96°)
OKLaboklab(83.49% -0.0448 0.1478)
OKLCHoklch(83.49% 0.154 106.9)
XYZxyz(50.8295, 59.2032, 14.3789)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF45 #454BD5
analogous
#D58745 #D5CF45 #93D545
triadic
#D5CF45 #45D5CF #CF45D5
tetradic
#D5CF45 #45D587 #454BD5 #D54593
square
#D5CF45 #45D587 #454BD5 #D54593
split-complementary
#D5CF45 #4593D5 #8745D5
monochromatic
#827E1D #B4AE29 #D5CF45 #E0DC77 #ECE9A9

Accessibility & contrast

On white

1.64
#D5CF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D5CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF45
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF45#FFFFFF#000000##000000
##D5CF451.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#E3CD4E
Tritanopia (blue-blind)
#E4C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf45;
/* rgb */ color: rgb(213, 207, 69);
/* oklch */ color: oklch(83.5% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#e5dd80',
    500: '#d5cf45',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf45;
$custom-light: #e5dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf45",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 57.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83487,
    "c": 0.15448,
    "h": 106.9
  },
  "luminance": 0.59201
}

Semantic roles & 50–950 ramp

primary
#D5CF45
secondary
#353989
accent
#48E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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