#D2CF58#D2CF58

#D2CF58 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.140 H 107.7°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D2CF58
RGBrgb(210, 207, 88)
HSLhsl(59, 58%, 58%)
HSVhsv(59, 58%, 82%)
CMYKcmyk(0%, 1.4%, 58.1%, 17.6%)
CIE-LABlab(81.31, -14.06, 58.10)
CIE-LCHlch(81.31, 59.77, 103.60°)
OKLaboklab(83.4% -0.0428 0.1338)
OKLCHoklch(83.4% 0.14 107.7)
XYZxyz(50.6542, 59.0333, 17.9569)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF58 #585BD2
analogous
#D29258 #D2CF58 #98D258
triadic
#D2CF58 #58D2CF #CF58D2
tetradic
#D2CF58 #58D292 #585BD2 #D25898
square
#D2CF58 #58D292 #585BD2 #D25898
split-complementary
#D2CF58 #5898D2 #9258D2
monochromatic
#8A8825 #BBB732 #D2CF58 #DFDD88 #ECEBB8

Accessibility & contrast

On white

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

On black

12.81
#D2CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF58
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF58#FFFFFF#000000##000000
##D2CF581.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC74B
Deuteranopia (green-blind)
#E1CC5F
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf58;
/* rgb */ color: rgb(210, 207, 88);
/* oklch */ color: oklch(83.4% 0.140 107.7);
Tailwind
colors: {
  custom: {
    50: '#e2dd8c',
    500: '#d2cf58',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf58;
$custom-light: #e2dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf58",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 58.525,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83402,
    "c": 0.14047,
    "h": 107.7
  },
  "luminance": 0.59032
}

Semantic roles & 50–950 ramp

primary
#D2CF58
secondary
#3E4091
accent
#4BE147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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