#D2C850#D2C850

#D2C850 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.140 H 104.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D2C850
RGBrgb(210, 200, 80)
HSLhsl(55, 59%, 57%)
HSVhsv(55, 62%, 82%)
CMYKcmyk(0%, 4.8%, 61.9%, 17.6%)
CIE-LABlab(79.38, -11.07, 59.45)
CIE-LCHlch(79.38, 60.48, 100.55°)
OKLaboklab(81.84% -0.0352 0.1356)
OKLCHoklch(81.84% 0.14 104.5)
XYZxyz(48.6823, 55.5911, 15.7536)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C850 #505AD2
analogous
#D28750 #D2C850 #9BD250
triadic
#D2C850 #50D2C8 #C850D2
tetradic
#D2C850 #50D287 #505AD2 #D2509B
square
#D2C850 #50D287 #505AD2 #D2509B
split-complementary
#D2C850 #509BD2 #8750D2
monochromatic
#857E22 #B6AC2F #D2C850 #DFD781 #EBE7B1

Accessibility & contrast

On white

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

On black

12.12
#D2C850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C850
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C850#FFFFFF#000000##000000
##D2C8501.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#E1BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c850;
/* rgb */ color: rgb(210, 200, 80);
/* oklch */ color: oklch(81.8% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#e3d886',
    500: '#d2c850',
    950: '#000000',
  },
}
SCSS
$custom: #d2c850;
$custom-light: #e3d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c850",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 55.385,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81843,
    "c": 0.14009,
    "h": 104.5
  },
  "luminance": 0.55589
}

Semantic roles & 50–950 ramp

primary
#D2C850
secondary
#3A408C
accent
#52E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C850

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

Preview Lab → · Contrast checker → · Palette generator →

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