#D5CF3D#D5CF3D

#D5CF3D is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.160 H 107.0°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D5CF3D
RGBrgb(213, 207, 61)
HSLhsl(58, 64%, 54%)
HSVhsv(58, 71%, 84%)
CMYKcmyk(0%, 2.8%, 71.4%, 16.5%)
CIE-LABlab(81.35, -14.39, 68.97)
CIE-LCHlch(81.35, 70.45, 101.79°)
OKLaboklab(83.43% -0.0467 0.1526)
OKLCHoklch(83.43% 0.16 107)
XYZxyz(50.5977, 59.1105, 13.1582)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF3D #3D43D5
analogous
#D5833D #D5CF3D #8FD53D
triadic
#D5CF3D #3DD5CF #CF3DD5
tetradic
#D5CF3D #3DD583 #3D43D5 #D53D8F
square
#D5CF3D #3DD583 #3D43D5 #D53D8F
split-complementary
#D5CF3D #3D8FD5 #833DD5
monochromatic
#7D791B #AFAA26 #D5CF3D #E0DB6F #EBE8A2

Accessibility & contrast

On white

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

On black

12.82
#D5CF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF3D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF3D#FFFFFF#000000##000000
##D5CF3D1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C723
Deuteranopia (green-blind)
#E3CD48
Tritanopia (blue-blind)
#E4C1B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf3d;
/* rgb */ color: rgb(213, 207, 61);
/* oklch */ color: oklch(83.4% 0.160 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6dd7c',
    500: '#d5cf3d',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf3d;
$custom-light: #e6dd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf3d",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 61
  },
  "hsl": {
    "h": 57.632,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8343,
    "c": 0.15955,
    "h": 107
  },
  "luminance": 0.59109
}

Semantic roles & 50–950 ramp

primary
#D5CF3D
secondary
#323584
accent
#47E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5CF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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