#D2C75F#D2C75F

#D2C75F is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.126 H 103.3°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D2C75F
RGBrgb(210, 199, 95)
HSLhsl(54, 56%, 60%)
HSVhsv(54, 55%, 82%)
CMYKcmyk(0%, 5.2%, 54.8%, 17.6%)
CIE-LABlab(79.26, -9.49, 52.62)
CIE-LCHlch(79.26, 53.46, 100.22°)
OKLaboklab(81.79% -0.029 0.1229)
OKLCHoklch(81.79% 0.126 103.3)
XYZxyz(49.0689, 55.3764, 18.9282)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C75F #5F6AD2
analogous
#D28E5F #D2C75F #A4D25F
triadic
#D2C75F #5FD2C7 #C75FD2
tetradic
#D2C75F #5FD28E #5F6AD2 #D25FA4
square
#D2C75F #5FD28E #5F6AD2 #D25FA4
split-complementary
#D2C75F #5FA4D2 #8E5FD2
monochromatic
#8F8528 #BEB136 #D2C75F #DFD88F #EDE8BF

Accessibility & contrast

On white

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

On black

12.08
#D2C75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C75F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C75F#FFFFFF#000000##000000
##D2C75F1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C155
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#E0BBB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c75f;
/* rgb */ color: rgb(210, 199, 95);
/* oklch */ color: oklch(81.8% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#e2d78f',
    500: '#d2c75f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c75f;
$custom-light: #e2d78f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c75f",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 54.261,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81791,
    "c": 0.12624,
    "h": 103.3
  },
  "luminance": 0.55375
}

Semantic roles & 50–950 ramp

primary
#D2C75F
secondary
#414994
accent
#57DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C75F

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

Preview Lab → · Contrast checker → · Palette generator →

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