#D1CF50#D1CF50

#D1CF50 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.2% C 0.147 H 108.4°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D1CF50
RGBrgb(209, 207, 80)
HSLhsl(59, 58%, 57%)
HSVhsv(59, 62%, 82%)
CMYKcmyk(0%, 1%, 61.7%, 18%)
CIE-LABlab(81.16, -15.01, 61.34)
CIE-LCHlch(81.16, 63.15, 103.75°)
OKLaboklab(83.24% -0.0463 0.1396)
OKLCHoklch(83.24% 0.147 108.4)
XYZxyz(50.0569, 58.7616, 16.2932)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF50 #5052D1
analogous
#D18F50 #D1CF50 #93D150
triadic
#D1CF50 #50D1CF #CF50D1
tetradic
#D1CF50 #50D18F #5052D1 #D15093
square
#D1CF50 #50D18F #5052D1 #D15093
split-complementary
#D1CF50 #5093D1 #8F50D1
monochromatic
#848223 #B4B22F #D1CF50 #DEDC80 #EAEAB1

Accessibility & contrast

On white

1.65
#D1CF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D1CF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF50
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF50#FFFFFF#000000##000000
##D1CF501.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cf50;
/* rgb */ color: rgb(209, 207, 80);
/* oklch */ color: oklch(83.2% 0.147 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2dd87',
    500: '#d1cf50',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf50;
$custom-light: #e2dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf50",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 59.07,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83241,
    "c": 0.14709,
    "h": 108.4
  },
  "luminance": 0.5876
}

Semantic roles & 50–950 ramp

primary
#D1CF50
secondary
#3A3C8B
accent
#49E246
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CF50

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

Preview Lab → · Contrast checker → · Palette generator →

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