#D5CF50#D5CF50

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

Color values

HEX#D5CF50
RGBrgb(213, 207, 80)
HSLhsl(57, 61%, 57%)
HSVhsv(57, 62%, 84%)
CMYKcmyk(0%, 2.8%, 62.4%, 16.5%)
CIE-LABlab(81.48, -13.36, 61.78)
CIE-LCHlch(81.48, 63.21, 102.20°)
OKLaboklab(83.58% -0.0418 0.1405)
OKLCHoklch(83.58% 0.147 106.6)
XYZxyz(51.2031, 59.3526, 16.3469)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF50 #5056D5
analogous
#D58C50 #D5CF50 #99D550
triadic
#D5CF50 #50D5CF #CF50D5
tetradic
#D5CF50 #50D58C #5056D5 #D55099
square
#D5CF50 #50D58C #5056D5 #D55099
split-complementary
#D5CF50 #5099D5 #8C50D5
monochromatic
#8A8521 #BBB52D #D5CF50 #E1DD81 #EDEAB3

Accessibility & contrast

On white

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

On black

12.87
#D5CF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF50
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF50#FFFFFF#000000##000000
##D5CF501.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cf50;
/* rgb */ color: rgb(213, 207, 80);
/* oklch */ color: oklch(83.6% 0.147 106.6);
Tailwind
colors: {
  custom: {
    50: '#e5dd87',
    500: '#d5cf50',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf50;
$custom-light: #e5dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf50",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 57.293,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83579,
    "c": 0.14655,
    "h": 106.6
  },
  "luminance": 0.59351
}

Semantic roles & 50–950 ramp

primary
#D5CF50
secondary
#393D90
accent
#4BE443
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CF50

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

Preview Lab → · Contrast checker → · Palette generator →

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