#D3CF48#D3CF48

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

Color values

HEX#D3CF48
RGBrgb(211, 207, 72)
HSLhsl(58, 61%, 55%)
HSVhsv(58, 66%, 83%)
CMYKcmyk(0%, 1.9%, 65.9%, 17.3%)
CIE-LABlab(81.26, -14.67, 64.73)
CIE-LCHlch(81.26, 66.37, 102.77°)
OKLaboklab(83.34% -0.0463 0.1455)
OKLCHoklch(83.34% 0.153 107.6)
XYZxyz(50.3483, 58.9440, 14.8548)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CF48 #484CD3
analogous
#D38948 #D3CF48 #92D348
triadic
#D3CF48 #48D3CF #CF48D3
tetradic
#D3CF48 #48D389 #484CD3 #D34892
square
#D3CF48 #48D389 #484CD3 #D34892
split-complementary
#D3CF48 #4892D3 #8948D3
monochromatic
#817F1F #B3AF2B #D3CF48 #DFDC79 #EBE9AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CF48#FFFFFF#000000##000000
##D3CF481.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)
#E0C735
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#E2C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cf48;
/* rgb */ color: rgb(211, 207, 72);
/* oklch */ color: oklch(83.3% 0.153 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4dd82',
    500: '#d3cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d3cf48;
$custom-light: #e4dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cf48",
  "rgb": {
    "r": 211,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 58.273,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83341,
    "c": 0.1527,
    "h": 107.6
  },
  "luminance": 0.58942
}

Semantic roles & 50–950 ramp

primary
#D3CF48
secondary
#373989
accent
#48E443
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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