#D2C750#D2C750

#D2C750 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.139 H 104.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#D2C750
RGBrgb(210, 199, 80)
HSLhsl(55, 59%, 57%)
HSVhsv(55, 62%, 82%)
CMYKcmyk(0%, 5.2%, 61.9%, 17.6%)
CIE-LABlab(79.12, -10.56, 59.17)
CIE-LCHlch(79.12, 60.10, 100.12°)
OKLaboklab(81.63% -0.0337 0.135)
OKLCHoklch(81.63% 0.139 104)
XYZxyz(48.4515, 55.1294, 15.6767)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C750 #505BD2
analogous
#D28650 #D2C750 #9CD250
triadic
#D2C750 #50D2C7 #C750D2
tetradic
#D2C750 #50D286 #505BD2 #D2509C
square
#D2C750 #50D286 #505BD2 #D2509C
split-complementary
#D2C750 #509CD2 #8650D2
monochromatic
#857D22 #B6AB2F #D2C750 #DFD781 #EBE6B1

Accessibility & contrast

On white

1.75
#D2C750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#D2C750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C750
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C750#FFFFFF#000000##000000
##D2C7501.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C142
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#E1BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c750;
/* rgb */ color: rgb(210, 199, 80);
/* oklch */ color: oklch(81.6% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#e3d786',
    500: '#d2c750',
    950: '#000000',
  },
}
SCSS
$custom: #d2c750;
$custom-light: #e3d786;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c750",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 80
  },
  "hsl": {
    "h": 54.923,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81633,
    "c": 0.13915,
    "h": 104
  },
  "luminance": 0.55128
}

Semantic roles & 50–950 ramp

primary
#D2C750
secondary
#3A418C
accent
#53E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C750

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

Preview Lab → · Contrast checker → · Palette generator →

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