#D4CF50#D4CF50

#D4CF50 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.147 H 107.0°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D4CF50
RGBrgb(212, 207, 80)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 62%, 83%)
CMYKcmyk(0%, 2.4%, 62.3%, 16.9%)
CIE-LABlab(81.40, -13.77, 61.67)
CIE-LCHlch(81.40, 63.19, 102.59°)
OKLaboklab(83.49% -0.043 0.1402)
OKLCHoklch(83.49% 0.147 107)
XYZxyz(50.9139, 59.2035, 16.3333)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF50 #5055D4
analogous
#D48D50 #D4CF50 #97D450
triadic
#D4CF50 #50D4CF #CF50D4
tetradic
#D4CF50 #50D48D #5055D4 #D45097
square
#D4CF50 #50D48D #5055D4 #D45097
split-complementary
#D4CF50 #5097D4 #8D50D4
monochromatic
#888421 #B9B42E #D4CF50 #E0DC81 #ECEAB2

Accessibility & contrast

On white

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

On black

12.84
#D4CF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF50
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF50#FFFFFF#000000##000000
##D4CF501.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC740
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#E3C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf50;
/* rgb */ color: rgb(212, 207, 80);
/* oklch */ color: oklch(83.5% 0.147 107.0);
Tailwind
colors: {
  custom: {
    50: '#e4dd87',
    500: '#d4cf50',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf50;
$custom-light: #e4dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf50",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 57.727,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83494,
    "c": 0.14667,
    "h": 107
  },
  "luminance": 0.59202
}

Semantic roles & 50–950 ramp

primary
#D4CF50
secondary
#3A3D8F
accent
#4AE444
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CF50

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

Preview Lab → · Contrast checker → · Palette generator →

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