#D3CF42#D3CF42

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

Color values

HEX#D3CF42
RGBrgb(211, 207, 66)
HSLhsl(58, 62%, 54%)
HSVhsv(58, 69%, 83%)
CMYKcmyk(0%, 1.9%, 68.7%, 17.3%)
CIE-LABlab(81.22, -14.99, 66.98)
CIE-LCHlch(81.22, 68.64, 102.61°)
OKLaboklab(83.3% -0.0478 0.1493)
OKLCHoklch(83.3% 0.157 107.8)
XYZxyz(50.1620, 58.8695, 13.8738)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF42 #4246D3
analogous
#D38742 #D3CF42 #8FD342
triadic
#D3CF42 #42D3CF #CF42D3
tetradic
#D3CF42 #42D387 #4246D3 #D3428F
square
#D3CF42 #42D387 #4246D3 #D3428F
split-complementary
#D3CF42 #428FD3 #8742D3
monochromatic
#7D7B1D #AFAB29 #D3CF42 #DFDC74 #EAE8A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CF42#FFFFFF#000000##000000
##D3CF421.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)
#E0C72C
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#E2C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf42;
/* rgb */ color: rgb(211, 207, 66);
/* oklch */ color: oklch(83.3% 0.157 107.8);
Tailwind
colors: {
  custom: {
    50: '#e4dd7f',
    500: '#d3cf42',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf42;
$custom-light: #e4dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf42",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 58.345,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83295,
    "c": 0.15674,
    "h": 107.8
  },
  "luminance": 0.58868
}

Semantic roles & 50–950 ramp

primary
#D3CF42
secondary
#343685
accent
#47E542
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D3CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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