#D4CF48#D4CF48

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

Color values

HEX#D4CF48
RGBrgb(212, 207, 72)
HSLhsl(58, 62%, 56%)
HSVhsv(58, 66%, 83%)
CMYKcmyk(0%, 2.4%, 66%, 16.9%)
CIE-LABlab(81.34, -14.25, 64.84)
CIE-LCHlch(81.34, 66.39, 102.39°)
OKLaboklab(83.43% -0.0452 0.1457)
OKLCHoklch(83.43% 0.153 107.2)
XYZxyz(50.6357, 59.0922, 14.8683)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF48 #484DD4
analogous
#D48948 #D4CF48 #93D448
triadic
#D4CF48 #48D4CF #CF48D4
tetradic
#D4CF48 #48D489 #484DD4 #D44893
square
#D4CF48 #48D489 #484DD4 #D44893
split-complementary
#D4CF48 #4893D4 #8948D4
monochromatic
#837F1F #B4AF2A #D4CF48 #E0DC7A #EBE9AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d4cf48;
/* rgb */ color: rgb(212, 207, 72);
/* oklch */ color: oklch(83.4% 0.153 107.2);
Tailwind
colors: {
  custom: {
    50: '#e5dd82',
    500: '#d4cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf48;
$custom-light: #e5dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf48",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 57.857,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83425,
    "c": 0.15257,
    "h": 107.2
  },
  "luminance": 0.59091
}

Semantic roles & 50–950 ramp

primary
#D4CF48
secondary
#36398A
accent
#49E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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