#D2C650#D2C650

#D2C650 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.138 H 103.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D2C650
RGBrgb(210, 198, 80)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 62%, 82%)
CMYKcmyk(0%, 5.7%, 61.9%, 17.6%)
CIE-LABlab(78.85, -10.06, 58.88)
CIE-LCHlch(78.85, 59.74, 99.69°)
OKLaboklab(81.42% -0.0323 0.1344)
OKLCHoklch(81.42% 0.138 103.5)
XYZxyz(48.2222, 54.6708, 15.6003)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C650 #505CD2
analogous
#D28550 #D2C650 #9DD250
triadic
#D2C650 #50D2C6 #C650D2
tetradic
#D2C650 #50D285 #505CD2 #D2509D
square
#D2C650 #50D285 #505CD2 #D2509D
split-complementary
#D2C650 #509DD2 #8550D2
monochromatic
#857C22 #B6AA2F #D2C650 #DFD681 #EBE6B1

Accessibility & contrast

On white

1.76
#D2C650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D2C650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C650
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C650#FFFFFF#000000##000000
##D2C6501.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#E1B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c650;
/* rgb */ color: rgb(210, 198, 80);
/* oklch */ color: oklch(81.4% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#e3d786',
    500: '#d2c650',
    950: '#000000',
  },
}
SCSS
$custom: #d2c650;
$custom-light: #e3d786;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c650",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 54.462,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.13822,
    "h": 103.5
  },
  "luminance": 0.54669
}

Semantic roles & 50–950 ramp

primary
#D2C650
secondary
#3A428C
accent
#54E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C650

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

Preview Lab → · Contrast checker → · Palette generator →

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