#D2C75D#D2C75D

#D2C75D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.128 H 103.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D2C75D
RGBrgb(210, 199, 93)
HSLhsl(54, 57%, 59%)
HSVhsv(54, 56%, 82%)
CMYKcmyk(0%, 5.2%, 55.7%, 17.6%)
CIE-LABlab(79.24, -9.64, 53.52)
CIE-LCHlch(79.24, 54.38, 100.21°)
OKLaboklab(81.77% -0.0297 0.1246)
OKLCHoklch(81.77% 0.128 103.4)
XYZxyz(48.9791, 55.3405, 18.4556)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C75D #5D68D2
analogous
#D28D5D #D2C75D #A3D25D
triadic
#D2C75D #5DD2C7 #C75DD2
tetradic
#D2C75D #5DD28D #5D68D2 #D25DA3
square
#D2C75D #5DD28D #5D68D2 #D25DA3
split-complementary
#D2C75D #5DA3D2 #8D5DD2
monochromatic
#8D8427 #BDB035 #D2C75D #DFD88D #EDE8BD

Accessibility & contrast

On white

1.74
#D2C75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#D2C75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C75D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C75D#FFFFFF#000000##000000
##D2C75D1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C152
Deuteranopia (green-blind)
#DAC762
Tritanopia (blue-blind)
#E0BBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c75d;
/* rgb */ color: rgb(210, 199, 93);
/* oklch */ color: oklch(81.8% 0.128 103.4);
Tailwind
colors: {
  custom: {
    50: '#e2d78e',
    500: '#d2c75d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c75d;
$custom-light: #e2d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c75d",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 54.359,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81768,
    "c": 0.12806,
    "h": 103.4
  },
  "luminance": 0.55339
}

Semantic roles & 50–950 ramp

primary
#D2C75D
secondary
#404893
accent
#56E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C75D

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

Preview Lab → · Contrast checker → · Palette generator →

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