#D4CF3D#D4CF3D

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

Color values

HEX#D4CF3D
RGBrgb(212, 207, 61)
HSLhsl(58, 64%, 54%)
HSVhsv(58, 71%, 83%)
CMYKcmyk(0%, 2.4%, 71.2%, 16.9%)
CIE-LABlab(81.27, -14.81, 68.86)
CIE-LCHlch(81.27, 70.44, 102.14°)
OKLaboklab(83.35% -0.0478 0.1524)
OKLCHoklch(83.35% 0.16 107.4)
XYZxyz(50.3084, 58.9613, 13.1446)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF3D #3D42D4
analogous
#D4833D #D4CF3D #8DD43D
triadic
#D4CF3D #3DD4CF #CF3DD4
tetradic
#D4CF3D #3DD483 #3D42D4 #D43D8D
square
#D4CF3D #3DD483 #3D42D4 #D43D8D
split-complementary
#D4CF3D #3D8DD4 #833DD4
monochromatic
#7B781B #ADA926 #D4CF3D #DFDB6F #EAE8A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CF3D#FFFFFF#000000##000000
##D4CF3D1.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)
#E0C723
Deuteranopia (green-blind)
#E3CC48
Tritanopia (blue-blind)
#E3C1B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf3d;
/* rgb */ color: rgb(212, 207, 61);
/* oklch */ color: oklch(83.3% 0.160 107.4);
Tailwind
colors: {
  custom: {
    50: '#e5dd7c',
    500: '#d4cf3d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf3d;
$custom-light: #e5dd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf3d",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 61
  },
  "hsl": {
    "h": 58.013,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83345,
    "c": 0.1597,
    "h": 107.4
  },
  "luminance": 0.5896
}

Semantic roles & 50–950 ramp

primary
#D4CF3D
secondary
#323583
accent
#47E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4CF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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