#D2C75A#D2C75A

#D2C75A is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.131 H 103.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D2C75A
RGBrgb(210, 199, 90)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 57%, 82%)
CMYKcmyk(0%, 5.2%, 57.1%, 17.6%)
CIE-LABlab(79.21, -9.87, 54.85)
CIE-LCHlch(79.21, 55.74, 100.20°)
OKLaboklab(81.74% -0.0306 0.1271)
OKLCHoklch(81.74% 0.131 103.6)
XYZxyz(48.8489, 55.2884, 17.7695)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C75A #5A65D2
analogous
#D28B5A #D2C75A #A1D25A
triadic
#D2C75A #5AD2C7 #C75AD2
tetradic
#D2C75A #5AD28B #5A65D2 #D25AA1
square
#D2C75A #5AD28B #5A65D2 #D25AA1
split-complementary
#D2C75A #5AA1D2 #8B5AD2
monochromatic
#8C8226 #BCAF33 #D2C75A #DFD78A #ECE8BA

Accessibility & contrast

On white

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

On black

12.06
#D2C75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C75A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C75A#FFFFFF#000000##000000
##D2C75A1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c75a;
/* rgb */ color: rgb(210, 199, 90);
/* oklch */ color: oklch(81.7% 0.131 103.6);
Tailwind
colors: {
  custom: {
    50: '#e2d78c',
    500: '#d2c75a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c75a;
$custom-light: #e2d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c75a",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 54.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81735,
    "c": 0.13075,
    "h": 103.6
  },
  "luminance": 0.55287
}

Semantic roles & 50–950 ramp

primary
#D2C75A
secondary
#3E4692
accent
#55E047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C75A

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

Preview Lab → · Contrast checker → · Palette generator →

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