#D4CF43#D4CF43

#D4CF43 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.156 H 107.3°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D4CF43
RGBrgb(212, 207, 67)
HSLhsl(58, 63%, 55%)
HSVhsv(58, 68%, 83%)
CMYKcmyk(0%, 2.4%, 68.4%, 16.9%)
CIE-LABlab(81.31, -14.52, 66.72)
CIE-LCHlch(81.31, 68.28, 102.28°)
OKLaboklab(83.39% -0.0464 0.1489)
OKLCHoklch(83.39% 0.156 107.3)
XYZxyz(50.4792, 59.0296, 14.0439)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF43 #4348D4
analogous
#D48743 #D4CF43 #91D443
triadic
#D4CF43 #43D4CF #CF43D4
tetradic
#D4CF43 #43D487 #4348D4 #D44391
square
#D4CF43 #43D487 #4348D4 #D44391
split-complementary
#D4CF43 #4391D4 #8743D4
monochromatic
#7F7C1D #B1AD29 #D4CF43 #DFDC75 #EBE8A7

Accessibility & contrast

On white

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

On black

12.81
#D4CF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF43
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF43#FFFFFF#000000##000000
##D4CF431.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72D
Deuteranopia (green-blind)
#E3CC4D
Tritanopia (blue-blind)
#E3C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf43;
/* rgb */ color: rgb(212, 207, 67);
/* oklch */ color: oklch(83.4% 0.156 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5dd7f',
    500: '#d4cf43',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf43;
$custom-light: #e5dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf43",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 67
  },
  "hsl": {
    "h": 57.931,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83387,
    "c": 0.15595,
    "h": 107.3
  },
  "luminance": 0.59028
}

Semantic roles & 50–950 ramp

primary
#D4CF43
secondary
#343787
accent
#48E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CF43

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

Preview Lab → · Contrast checker → · Palette generator →

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