#D3CF40#D3CF40

#D3CF40 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.158 H 107.8°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D3CF40
RGBrgb(211, 207, 64)
HSLhsl(58, 63%, 54%)
HSVhsv(58, 70%, 83%)
CMYKcmyk(0%, 1.9%, 69.7%, 17.3%)
CIE-LABlab(81.21, -15.09, 67.70)
CIE-LCHlch(81.21, 69.36, 102.56°)
OKLaboklab(83.28% -0.0483 0.1505)
OKLCHoklch(83.28% 0.158 107.8)
XYZxyz(50.1041, 58.8463, 13.5687)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF40 #4044D3
analogous
#D38640 #D3CF40 #8ED340
triadic
#D3CF40 #40D3CF #CF40D3
tetradic
#D3CF40 #40D386 #4044D3 #D3408E
square
#D3CF40 #40D386 #4044D3 #D3408E
split-complementary
#D3CF40 #408ED3 #8640D3
monochromatic
#7C791D #AEAA28 #D3CF40 #DEDC72 #EAE8A3

Accessibility & contrast

On white

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

On black

12.77
#D3CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CF40
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CF40#FFFFFF#000000##000000
##D3CF401.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#E3CC4A
Tritanopia (blue-blind)
#E2C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf40;
/* rgb */ color: rgb(211, 207, 64);
/* oklch */ color: oklch(83.3% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#e4dd7e',
    500: '#d3cf40',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf40;
$custom-light: #e4dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf40",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 58.367,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83281,
    "c": 0.15802,
    "h": 107.8
  },
  "luminance": 0.58845
}

Semantic roles & 50–950 ramp

primary
#D3CF40
secondary
#333684
accent
#47E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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