#D1CF45#D1CF45

#D1CF45 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.1% C 0.155 H 108.5°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D1CF45
RGBrgb(209, 207, 69)
HSLhsl(59, 60%, 55%)
HSVhsv(59, 67%, 82%)
CMYKcmyk(0%, 1%, 67%, 18%)
CIE-LABlab(81.08, -15.67, 65.65)
CIE-LCHlch(81.08, 67.50, 103.42°)
OKLaboklab(83.15% -0.0493 0.147)
OKLCHoklch(83.15% 0.155 108.5)
XYZxyz(49.6832, 58.6121, 14.3252)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF45 #4547D1
analogous
#D18945 #D1CF45 #8DD145
triadic
#D1CF45 #45D1CF #CF45D1
tetradic
#D1CF45 #45D189 #4547D1 #D1458D
square
#D1CF45 #45D189 #4547D1 #D1458D
split-complementary
#D1CF45 #458DD1 #8945D1
monochromatic
#7D7B1F #AEAC2B #D1CF45 #DDDC76 #E9E8A7

Accessibility & contrast

On white

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

On black

12.72
#D1CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF45
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF45#FFFFFF#000000##000000
##D1CF451.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#E0C2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf45;
/* rgb */ color: rgb(209, 207, 69);
/* oklch */ color: oklch(83.1% 0.155 108.5);
Tailwind
colors: {
  custom: {
    50: '#e2dd80',
    500: '#d1cf45',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf45;
$custom-light: #e2dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf45",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 59.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83149,
    "c": 0.15509,
    "h": 108.5
  },
  "luminance": 0.58611
}

Semantic roles & 50–950 ramp

primary
#D1CF45
secondary
#363784
accent
#47E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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