#D1CF4B#D1CF4B

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

Color values

HEX#D1CF4B
RGBrgb(209, 207, 75)
HSLhsl(59, 59%, 56%)
HSVhsv(59, 64%, 82%)
CMYKcmyk(0%, 1%, 64.1%, 18%)
CIE-LABlab(81.12, -15.32, 63.35)
CIE-LCHlch(81.12, 65.17, 103.60°)
OKLaboklab(83.2% -0.0477 0.1431)
OKLCHoklch(83.2% 0.151 108.4)
XYZxyz(49.8790, 58.6904, 15.3562)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF4B #4B4DD1
analogous
#D18C4B #D1CF4B #90D14B
triadic
#D1CF4B #4BD1CF #CF4BD1
tetradic
#D1CF4B #4BD18C #4B4DD1 #D14B90
square
#D1CF4B #4BD18C #4B4DD1 #D14B90
split-complementary
#D1CF4B #4B90D1 #8C4BD1
monochromatic
#817F21 #B1AF2D #D1CF4B #DDDC7C #EAE9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CF4B#FFFFFF#000000##000000
##D1CF4B1.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)
#DFC739
Deuteranopia (green-blind)
#E1CC53
Tritanopia (blue-blind)
#DFC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cf4b;
/* rgb */ color: rgb(209, 207, 75);
/* oklch */ color: oklch(83.2% 0.151 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2dd84',
    500: '#d1cf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf4b;
$custom-light: #e2dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf4b",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 59.104,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83197,
    "c": 0.15086,
    "h": 108.4
  },
  "luminance": 0.58689
}

Semantic roles & 50–950 ramp

primary
#D1CF4B
secondary
#383988
accent
#48E245
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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