#D1CF4E#D1CF4E

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

Color values

HEX#D1CF4E
RGBrgb(209, 207, 78)
HSLhsl(59, 59%, 56%)
HSVhsv(59, 63%, 82%)
CMYKcmyk(0%, 1%, 62.7%, 18%)
CIE-LABlab(81.14, -15.14, 62.15)
CIE-LCHlch(81.14, 63.97, 103.69°)
OKLaboklab(83.22% -0.0469 0.141)
OKLCHoklch(83.22% 0.149 108.4)
XYZxyz(49.9841, 58.7325, 15.9098)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF4E #4E50D1
analogous
#D18E4E #D1CF4E #92D14E
triadic
#D1CF4E #4ED1CF #CF4ED1
tetradic
#D1CF4E #4ED18E #4E50D1 #D14E92
square
#D1CF4E #4ED18E #4E50D1 #D14E92
split-complementary
#D1CF4E #4E92D1 #8E4ED1
monochromatic
#838122 #B3B12F #D1CF4E #DEDC7F #EAE9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CF4E#FFFFFF#000000##000000
##D1CF4E1.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)
#DFC73E
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#DFC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf4e;
/* rgb */ color: rgb(209, 207, 78);
/* oklch */ color: oklch(83.2% 0.149 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2dd85',
    500: '#d1cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf4e;
$custom-light: #e2dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf4e",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 59.084,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83223,
    "c": 0.14863,
    "h": 108.4
  },
  "luminance": 0.58731
}

Semantic roles & 50–950 ramp

primary
#D1CF4E
secondary
#393B8A
accent
#48E246
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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