#D2C867#D2C867

#D2C867 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.120 H 103.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D2C867
RGBrgb(210, 200, 103)
HSLhsl(54, 54%, 61%)
HSVhsv(54, 51%, 82%)
CMYKcmyk(0%, 4.8%, 51%, 17.6%)
CIE-LABlab(79.61, -9.34, 49.25)
CIE-LCHlch(79.61, 50.13, 100.73°)
OKLaboklab(82.1% -0.0277 0.1164)
OKLCHoklch(82.1% 0.12 103.4)
XYZxyz(49.6822, 55.9911, 21.0196)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C867 #6771D2
analogous
#D29367 #D2C867 #A7D267
triadic
#D2C867 #67D2C8 #C867D2
tetradic
#D2C867 #67D293 #6771D2 #D267A7
square
#D2C867 #67D293 #6771D2 #D267A7
split-complementary
#D2C867 #67A7D2 #9367D2
monochromatic
#93892C #C2B63A #D2C867 #E0D996 #EEEAC5

Accessibility & contrast

On white

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

On black

12.20
#D2C867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C867
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C867#FFFFFF#000000##000000
##D2C8671.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c867;
/* rgb */ color: rgb(210, 200, 103);
/* oklch */ color: oklch(82.1% 0.120 103.4);
Tailwind
colors: {
  custom: {
    50: '#e2d895',
    500: '#d2c867',
    950: '#000000',
  },
}
SCSS
$custom: #d2c867;
$custom-light: #e2d895;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c867",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 54.393,
    "s": 54.315,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82098,
    "c": 0.11961,
    "h": 103.4
  },
  "luminance": 0.55989
}

Semantic roles & 50–950 ramp

primary
#D2C867
secondary
#454C99
accent
#32C224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C867

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

Preview Lab → · Contrast checker → · Palette generator →

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