#D1CF4A#D1CF4A

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

Color values

HEX#D1CF4A
RGBrgb(209, 207, 74)
HSLhsl(59, 59%, 55%)
HSVhsv(59, 65%, 82%)
CMYKcmyk(0%, 1%, 64.6%, 18%)
CIE-LABlab(81.11, -15.38, 63.74)
CIE-LCHlch(81.11, 65.57, 103.57°)
OKLaboklab(83.19% -0.048 0.1438)
OKLCHoklch(83.19% 0.152 108.5)
XYZxyz(49.8450, 58.6769, 15.1773)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF4A #4A4CD1
analogous
#D18B4A #D1CF4A #8FD14A
triadic
#D1CF4A #4AD1CF #CF4AD1
tetradic
#D1CF4A #4AD18B #4A4CD1 #D14A8F
square
#D1CF4A #4AD18B #4A4CD1 #D14A8F
split-complementary
#D1CF4A #4A8FD1 #8B4AD1
monochromatic
#807F21 #B1AF2D #D1CF4A #DDDC7B #EAE9AC

Accessibility & contrast

On white

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

On black

12.74
#D1CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF4A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF4A#FFFFFF#000000##000000
##D1CF4A1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC738
Deuteranopia (green-blind)
#E1CC53
Tritanopia (blue-blind)
#DFC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf4a;
/* rgb */ color: rgb(209, 207, 74);
/* oklch */ color: oklch(83.2% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#e2dd83',
    500: '#d1cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf4a;
$custom-light: #e2dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf4a",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 59.111,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83189,
    "c": 0.15159,
    "h": 108.5
  },
  "luminance": 0.58675
}

Semantic roles & 50–950 ramp

primary
#D1CF4A
secondary
#383987
accent
#47E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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