#D3CF47#D3CF47

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

Color values

HEX#D3CF47
RGBrgb(211, 207, 71)
HSLhsl(58, 61%, 55%)
HSVhsv(58, 66%, 83%)
CMYKcmyk(0%, 1.9%, 66.4%, 17.3%)
CIE-LABlab(81.25, -14.72, 65.11)
CIE-LCHlch(81.25, 66.76, 102.74°)
OKLaboklab(83.33% -0.0465 0.1462)
OKLCHoklch(83.33% 0.153 107.7)
XYZxyz(50.3159, 58.9311, 14.6844)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF47 #474BD3
analogous
#D38947 #D3CF47 #91D347
triadic
#D3CF47 #47D3CF #CF47D3
tetradic
#D3CF47 #47D389 #474BD3 #D34791
square
#D3CF47 #47D389 #474BD3 #D34791
split-complementary
#D3CF47 #4791D3 #8947D3
monochromatic
#817E1F #B2AE2B #D3CF47 #DFDC78 #EBE9AA

Accessibility & contrast

On white

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

On black

12.79
#D3CF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CF47
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CF47#FFFFFF#000000##000000
##D3CF471.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C734
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#E2C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf47;
/* rgb */ color: rgb(211, 207, 71);
/* oklch */ color: oklch(83.3% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#e4dd82',
    500: '#d3cf47',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf47;
$custom-light: #e4dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf47",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 58.286,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83333,
    "c": 0.1534,
    "h": 107.7
  },
  "luminance": 0.58929
}

Semantic roles & 50–950 ramp

primary
#D3CF47
secondary
#363988
accent
#48E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CF47

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

Preview Lab → · Contrast checker → · Palette generator →

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