#D1CF58#D1CF58

#D1CF58 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.141 H 108.2°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D1CF58
RGBrgb(209, 207, 88)
HSLhsl(59, 57%, 58%)
HSVhsv(59, 58%, 82%)
CMYKcmyk(0%, 1%, 57.9%, 18%)
CIE-LABlab(81.23, -14.47, 57.99)
CIE-LCHlch(81.23, 59.76, 104.01°)
OKLaboklab(83.32% -0.0439 0.1336)
OKLCHoklch(83.32% 0.141 108.2)
XYZxyz(50.3703, 58.8870, 17.9436)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CF58 #585AD1
analogous
#D19258 #D1CF58 #96D158
triadic
#D1CF58 #58D1CF #CF58D1
tetradic
#D1CF58 #58D192 #585AD1 #D15896
square
#D1CF58 #58D192 #585AD1 #D15896
split-complementary
#D1CF58 #5896D1 #9258D1
monochromatic
#898726 #B9B733 #D1CF58 #DEDD88 #EBEBB8

Accessibility & contrast

On white

1.64
#D1CF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D1CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CF58
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CF58#FFFFFF#000000##000000
##D1CF581.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#DFC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cf58;
/* rgb */ color: rgb(209, 207, 88);
/* oklch */ color: oklch(83.3% 0.141 108.2);
Tailwind
colors: {
  custom: {
    50: '#e2dd8b',
    500: '#d1cf58',
    950: '#000000',
  },
}
SCSS
$custom: #d1cf58;
$custom-light: #e2dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cf58",
  "rgb": {
    "r": 209,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 59.008,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83318,
    "c": 0.1406,
    "h": 108.2
  },
  "luminance": 0.58886
}

Semantic roles & 50–950 ramp

primary
#D1CF58
secondary
#3E3F8F
accent
#4AE048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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