#D0C848#D0C848

#D0C848 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.146 H 105.7°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D0C848
RGBrgb(208, 200, 72)
HSLhsl(56, 59%, 55%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 3.8%, 65.4%, 18.4%)
CIE-LABlab(79.15, -12.40, 62.48)
CIE-LCHlch(79.15, 63.70, 101.23°)
OKLaboklab(81.6% -0.0397 0.1409)
OKLCHoklch(81.6% 0.146 105.7)
XYZxyz(47.8382, 55.1880, 14.2621)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C848 #4850D0
analogous
#D08448 #D0C848 #94D048
triadic
#D0C848 #48D0C8 #C848D0
tetradic
#D0C848 #48D084 #4850D0 #D04894
square
#D0C848 #48D084 #4850D0 #D04894
split-complementary
#D0C848 #4894D0 #8448D0
monochromatic
#7D7820 #AEA62D #D0C848 #DDD779 #E9E5A9

Accessibility & contrast

On white

1.74
#D0C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D0C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C848
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C848#FFFFFF#000000##000000
##D0C8481.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C137
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#DFBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c848;
/* rgb */ color: rgb(208, 200, 72);
/* oklch */ color: oklch(81.6% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e2d881',
    500: '#d0c848',
    950: '#000000',
  },
}
SCSS
$custom: #d0c848;
$custom-light: #e2d881;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c848",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 56.471,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81599,
    "c": 0.14635,
    "h": 105.7
  },
  "luminance": 0.55186
}

Semantic roles & 50–950 ramp

primary
#D0C848
secondary
#373C85
accent
#4FE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C848

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

Preview Lab → · Contrast checker → · Palette generator →

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