#D2CF4A#D2CF4A

#D2CF4A is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.151 H 108.0°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D2CF4A
RGBrgb(210, 207, 74)
HSLhsl(59, 60%, 56%)
HSVhsv(59, 65%, 82%)
CMYKcmyk(0%, 1.4%, 64.8%, 17.6%)
CIE-LABlab(81.19, -14.97, 63.85)
CIE-LCHlch(81.19, 65.58, 103.19°)
OKLaboklab(83.27% -0.0469 0.144)
OKLCHoklch(83.27% 0.151 108)
XYZxyz(50.1289, 58.8232, 15.1906)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF4A #4A4DD2
analogous
#D28B4A #D2CF4A #91D24A
triadic
#D2CF4A #4AD2CF #CF4AD2
tetradic
#D2CF4A #4AD28B #4A4DD2 #D24A91
square
#D2CF4A #4AD28B #4A4DD2 #D24A91
split-complementary
#D2CF4A #4A91D2 #8B4AD2
monochromatic
#817F20 #B2AF2C #D2CF4A #DEDC7B #EAE9AC

Accessibility & contrast

On white

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

On black

12.76
#D2CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF4A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF4A#FFFFFF#000000##000000
##D2CF4A1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC738
Deuteranopia (green-blind)
#E2CC53
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf4a;
/* rgb */ color: rgb(210, 207, 74);
/* oklch */ color: oklch(83.3% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e3dd83',
    500: '#d2cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf4a;
$custom-light: #e3dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf4a",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 58.676,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83273,
    "c": 0.15143,
    "h": 108
  },
  "luminance": 0.58822
}

Semantic roles & 50–950 ramp

primary
#D2CF4A
secondary
#383989
accent
#48E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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