#D0C960#D0C960

#D0C960 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.127 H 105.4°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D0C960
RGBrgb(208, 201, 96)
HSLhsl(56, 54%, 60%)
HSVhsv(56, 54%, 82%)
CMYKcmyk(0%, 3.4%, 53.8%, 18.4%)
CIE-LABlab(79.63, -11.25, 52.54)
CIE-LCHlch(79.63, 53.73, 102.09°)
OKLaboklab(82.05% -0.0338 0.1228)
OKLCHoklch(82.05% 0.127 105.4)
XYZxyz(49.0118, 56.0292, 19.2970)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C960 #6067D0
analogous
#D09160 #D0C960 #9FD060
triadic
#D0C960 #60D0C9 #C960D0
tetradic
#D0C960 #60D091 #6067D0 #D0609F
square
#D0C960 #60D091 #6067D0 #D0609F
split-complementary
#D0C960 #609FD0 #9160D0
monochromatic
#8C8629 #BBB337 #D0C960 #DED98F #ECE9BE

Accessibility & contrast

On white

1.72
#D0C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D0C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C960
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C960#FFFFFF#000000##000000
##D0C9601.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C356
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#DDBDB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d0c960;
/* rgb */ color: rgb(208, 201, 96);
/* oklch */ color: oklch(82.1% 0.127 105.4);
Tailwind
colors: {
  custom: {
    50: '#e1d990',
    500: '#d0c960',
    950: '#000000',
  },
}
SCSS
$custom: #d0c960;
$custom-light: #e1d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c960",
  "rgb": {
    "r": 208,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 56.25,
    "s": 54.369,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82051,
    "c": 0.12741,
    "h": 105.4
  },
  "luminance": 0.56028
}

Semantic roles & 50–950 ramp

primary
#D0C960
secondary
#424792
accent
#53DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D0C960

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

Preview Lab → · Contrast checker → · Palette generator →

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