#D5CF4F#D5CF4F

#D5CF4F is a very light, vivid yellow. Relative luminance 0.593; 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#D5CF4F
RGBrgb(213, 207, 79)
HSLhsl(57, 61%, 57%)
HSVhsv(57, 63%, 84%)
CMYKcmyk(0%, 2.8%, 62.9%, 16.5%)
CIE-LABlab(81.48, -13.42, 62.19)
CIE-LCHlch(81.48, 63.62, 102.18°)
OKLaboklab(83.57% -0.0421 0.1412)
OKLCHoklch(83.57% 0.147 106.6)
XYZxyz(51.1665, 59.3380, 16.1537)
Luminance0.5934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF4F #4F55D5
analogous
#D58C4F #D5CF4F #98D54F
triadic
#D5CF4F #4FD5CF #CF4FD5
tetradic
#D5CF4F #4FD58C #4F55D5 #D54F98
square
#D5CF4F #4FD58C #4F55D5 #D54F98
split-complementary
#D5CF4F #4F98D5 #8C4FD5
monochromatic
#898421 #BAB42C #D5CF4F #E1DC80 #EDEAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CF4F#FFFFFF#000000##000000
##D5CF4F1.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)
#E0C83F
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#E4C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf4f;
/* rgb */ color: rgb(213, 207, 79);
/* oklch */ color: oklch(83.6% 0.147 106.6);
Tailwind
colors: {
  custom: {
    50: '#e5dd86',
    500: '#d5cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf4f;
$custom-light: #e5dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf4f",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 57.313,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8357,
    "c": 0.14731,
    "h": 106.6
  },
  "luminance": 0.59336
}

Semantic roles & 50–950 ramp

primary
#D5CF4F
secondary
#393D8F
accent
#4AE543
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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