#D5CF3E#D5CF3E

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

Color values

HEX#D5CF3E
RGBrgb(213, 207, 62)
HSLhsl(58, 64%, 54%)
HSVhsv(58, 71%, 84%)
CMYKcmyk(0%, 2.8%, 70.9%, 16.5%)
CIE-LABlab(81.36, -14.35, 68.62)
CIE-LCHlch(81.36, 70.11, 101.81°)
OKLaboklab(83.44% -0.0465 0.152)
OKLCHoklch(83.44% 0.159 107)
XYZxyz(50.6249, 59.1213, 13.3014)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF3E #3E44D5
analogous
#D5843E #D5CF3E #90D53E
triadic
#D5CF3E #3ED5CF #CF3ED5
tetradic
#D5CF3E #3ED584 #3E44D5 #D53E90
square
#D5CF3E #3ED584 #3E44D5 #D53E90
split-complementary
#D5CF3E #3E90D5 #843ED5
monochromatic
#7D791B #B0AA26 #D5CF3E #E0DC70 #EBE8A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CF3E#FFFFFF#000000##000000
##D5CF3E1.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)
#E0C725
Deuteranopia (green-blind)
#E3CD48
Tritanopia (blue-blind)
#E4C1B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf3e;
/* rgb */ color: rgb(213, 207, 62);
/* oklch */ color: oklch(83.4% 0.159 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6dd7d',
    500: '#d5cf3e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf3e;
$custom-light: #e6dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf3e",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 62
  },
  "hsl": {
    "h": 57.616,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83437,
    "c": 0.15895,
    "h": 107
  },
  "luminance": 0.5912
}

Semantic roles & 50–950 ramp

primary
#D5CF3E
secondary
#323685
accent
#47E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5CF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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