#D0CF48#D0CF48

#D0CF48 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.153 H 108.9°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D0CF48
RGBrgb(208, 207, 72)
HSLhsl(60, 59%, 55%)
HSVhsv(60, 65%, 82%)
CMYKcmyk(0%, 0.5%, 65.4%, 18.4%)
CIE-LABlab(81.02, -15.92, 64.41)
CIE-LCHlch(81.02, 66.34, 103.88°)
OKLaboklab(83.09% -0.0496 0.1449)
OKLCHoklch(83.09% 0.153 108.9)
XYZxyz(49.4966, 58.5049, 14.8149)
Luminance0.5850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CF48 #4849D0
analogous
#D08B48 #D0CF48 #8DD048
triadic
#D0CF48 #48D0CF #CF48D0
tetradic
#D0CF48 #48D08B #4849D0 #D0488D
square
#D0CF48 #48D08B #4849D0 #D0488D
split-complementary
#D0CF48 #488DD0 #8B48D0
monochromatic
#7D7D20 #AEAD2D #D0CF48 #DDDC79 #E9E9A9

Accessibility & contrast

On white

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

On black

12.70
#D0CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CF48
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CF48#FFFFFF#000000##000000
##D0CF481.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC735
Deuteranopia (green-blind)
#E1CB51
Tritanopia (blue-blind)
#DEC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0cf48;
/* rgb */ color: rgb(208, 207, 72);
/* oklch */ color: oklch(83.1% 0.153 108.9);
Tailwind
colors: {
  custom: {
    50: '#e2dd82',
    500: '#d0cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d0cf48;
$custom-light: #e2dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cf48",
  "rgb": {
    "r": 208,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 59.559,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83089,
    "c": 0.15318,
    "h": 108.9
  },
  "luminance": 0.58503
}

Semantic roles & 50–950 ramp

primary
#D0CF48
secondary
#373885
accent
#47E245
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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