#D1CF4F#D1CF4F

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

Color values

HEX#D1CF4F
RGBrgb(209, 207, 79)
HSLhsl(59, 59%, 56%)
HSVhsv(59, 62%, 82%)
CMYKcmyk(0%, 1%, 62.2%, 18%)
CIE-LABlab(81.15, -15.08, 61.74)
CIE-LCHlch(81.15, 63.56, 103.72°)
OKLaboklab(83.23% -0.0466 0.1403)
OKLCHoklch(83.23% 0.148 108.4)
XYZxyz(50.0202, 58.7469, 16.1000)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF4F #4F51D1
analogous
#D18E4F #D1CF4F #92D14F
triadic
#D1CF4F #4FD1CF #CF4FD1
tetradic
#D1CF4F #4FD18E #4F51D1 #D14F92
square
#D1CF4F #4FD18E #4F51D1 #D14F92
split-complementary
#D1CF4F #4F92D1 #8E4FD1
monochromatic
#838222 #B4B22F #D1CF4F #DEDC80 #EAE9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CF4F#FFFFFF#000000##000000
##D1CF4F1.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)
#DFC73F
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#DFC2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cf4f;
/* rgb */ color: rgb(209, 207, 79);
/* oklch */ color: oklch(83.2% 0.148 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2dd86',
    500: '#d1cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf4f;
$custom-light: #e2dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf4f",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 59.077,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83232,
    "c": 0.14786,
    "h": 108.4
  },
  "luminance": 0.58745
}

Semantic roles & 50–950 ramp

primary
#D1CF4F
secondary
#3A3B8A
accent
#48E246
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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