#D0C844#D0C844

#D0C844 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.149 H 105.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#D0C844
RGBrgb(208, 200, 68)
HSLhsl(57, 60%, 54%)
HSVhsv(57, 67%, 82%)
CMYKcmyk(0%, 3.8%, 67.3%, 18.4%)
CIE-LABlab(79.12, -12.63, 64.03)
CIE-LCHlch(79.12, 65.27, 101.16°)
OKLaboklab(81.57% -0.0408 0.1435)
OKLCHoklch(81.57% 0.149 105.9)
XYZxyz(47.7119, 55.1375, 13.5971)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C844 #444CD0
analogous
#D08244 #D0C844 #92D044
triadic
#D0C844 #44D0C8 #C844D0
tetradic
#D0C844 #44D082 #444CD0 #D04492
square
#D0C844 #44D082 #444CD0 #D04492
split-complementary
#D0C844 #4492D0 #8244D0
monochromatic
#7B751F #ACA42B #D0C844 #DCD675 #E9E5A6

Accessibility & contrast

On white

1.75
#D0C844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#D0C844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C844
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C844#FFFFFF#000000##000000
##D0C8441.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C131
Deuteranopia (green-blind)
#DCC64D
Tritanopia (blue-blind)
#DFBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c844;
/* rgb */ color: rgb(208, 200, 68);
/* oklch */ color: oklch(81.6% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2d87f',
    500: '#d0c844',
    950: '#000000',
  },
}
SCSS
$custom: #d0c844;
$custom-light: #e2d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c844",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 56.571,
    "s": 59.829,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81566,
    "c": 0.14917,
    "h": 105.9
  },
  "luminance": 0.55136
}

Semantic roles & 50–950 ramp

primary
#D0C844
secondary
#363A83
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C844

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

Preview Lab → · Contrast checker → · Palette generator →

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