#D0C867#D0C867

#D0C867 is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.120 H 104.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D0C867
RGBrgb(208, 200, 103)
HSLhsl(55, 53%, 61%)
HSVhsv(55, 50%, 82%)
CMYKcmyk(0%, 3.8%, 50.5%, 18.4%)
CIE-LABlab(79.44, -10.15, 49.01)
CIE-LCHlch(79.44, 50.06, 101.70°)
OKLaboklab(81.93% -0.0299 0.1159)
OKLCHoklch(81.93% 0.12 104.5)
XYZxyz(49.1162, 55.6992, 20.9931)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C867 #676FD0
analogous
#D09367 #D0C867 #A3D067
triadic
#D0C867 #67D0C8 #C867D0
tetradic
#D0C867 #67D093 #676FD0 #D067A3
square
#D0C867 #67D093 #676FD0 #D067A3
split-complementary
#D0C867 #67A3D0 #9367D0
monochromatic
#90882D #BFB53B #D0C867 #DED996 #EDEAC4

Accessibility & contrast

On white

1.73
#D0C867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#D0C867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C867
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C867#FFFFFF#000000##000000
##D0C8671.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25E
Deuteranopia (green-blind)
#DAC76C
Tritanopia (blue-blind)
#DDBDB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d0c867;
/* rgb */ color: rgb(208, 200, 103);
/* oklch */ color: oklch(81.9% 0.120 104.5);
Tailwind
colors: {
  custom: {
    50: '#e0d895',
    500: '#d0c867',
    950: '#000000',
  },
}
SCSS
$custom: #d0c867;
$custom-light: #e0d895;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c867",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 55.429,
    "s": 52.764,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81926,
    "c": 0.11967,
    "h": 104.5
  },
  "luminance": 0.55698
}

Semantic roles & 50–950 ramp

primary
#D0C867
secondary
#454B96
accent
#31C025
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D0C867

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

Preview Lab → · Contrast checker → · Palette generator →

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