#D2CF45#D2CF45

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

Color values

HEX#D2CF45
RGBrgb(210, 207, 69)
HSLhsl(59, 61%, 55%)
HSVhsv(59, 67%, 82%)
CMYKcmyk(0%, 1.4%, 67.1%, 17.6%)
CIE-LABlab(81.16, -15.25, 65.76)
CIE-LCHlch(81.16, 67.51, 103.05°)
OKLaboklab(83.23% -0.0482 0.1473)
OKLCHoklch(83.23% 0.155 108.1)
XYZxyz(49.9671, 58.7585, 14.3385)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF45 #4548D2
analogous
#D28845 #D2CF45 #8FD245
triadic
#D2CF45 #45D2CF #CF45D2
tetradic
#D2CF45 #45D288 #4548D2 #D2458F
square
#D2CF45 #45D288 #4548D2 #D2458F
split-complementary
#D2CF45 #458FD2 #8845D2
monochromatic
#7E7C1F #AFAD2A #D2CF45 #DEDC76 #EAE8A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF45#FFFFFF#000000##000000
##D2CF451.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)
#E0C730
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#E1C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf45;
/* rgb */ color: rgb(210, 207, 69);
/* oklch */ color: oklch(83.2% 0.155 108.1);
Tailwind
colors: {
  custom: {
    50: '#e3dd80',
    500: '#d2cf45',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf45;
$custom-light: #e3dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf45",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 58.723,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83233,
    "c": 0.15493,
    "h": 108.1
  },
  "luminance": 0.58757
}

Semantic roles & 50–950 ramp

primary
#D2CF45
secondary
#363786
accent
#47E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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