#D2CF48#D2CF48

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

Color values

HEX#D2CF48
RGBrgb(210, 207, 72)
HSLhsl(59, 61%, 55%)
HSVhsv(59, 66%, 82%)
CMYKcmyk(0%, 1.4%, 65.7%, 17.6%)
CIE-LABlab(81.18, -15.08, 64.62)
CIE-LCHlch(81.18, 66.36, 103.14°)
OKLaboklab(83.26% -0.0474 0.1453)
OKLCHoklch(83.26% 0.153 108.1)
XYZxyz(50.0626, 58.7967, 14.8414)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF48 #484BD2
analogous
#D28A48 #D2CF48 #90D248
triadic
#D2CF48 #48D2CF #CF48D2
tetradic
#D2CF48 #48D28A #484BD2 #D24890
square
#D2CF48 #48D28A #484BD2 #D24890
split-complementary
#D2CF48 #4890D2 #8A48D2
monochromatic
#807E20 #B1AE2C #D2CF48 #DEDC79 #EAE9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CF48#FFFFFF#000000##000000
##D2CF481.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)
#DFC735
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#E1C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf48;
/* rgb */ color: rgb(210, 207, 72);
/* oklch */ color: oklch(83.3% 0.153 108.1);
Tailwind
colors: {
  custom: {
    50: '#e3dd82',
    500: '#d2cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf48;
$custom-light: #e3dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf48",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 58.696,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83256,
    "c": 0.15286,
    "h": 108.1
  },
  "luminance": 0.58795
}

Semantic roles & 50–950 ramp

primary
#D2CF48
secondary
#373987
accent
#48E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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