#D1C750#D1C750

#D1C750 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.139 H 104.5°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D1C750
RGBrgb(209, 199, 80)
HSLhsl(55, 58%, 57%)
HSVhsv(55, 62%, 82%)
CMYKcmyk(0%, 4.8%, 61.7%, 18%)
CIE-LABlab(79.03, -10.98, 59.05)
CIE-LCHlch(79.03, 60.07, 100.54°)
OKLaboklab(81.55% -0.0349 0.1348)
OKLCHoklch(81.55% 0.139 104.5)
XYZxyz(48.1676, 54.9831, 15.6634)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C750 #505AD1
analogous
#D18750 #D1C750 #9BD150
triadic
#D1C750 #50D1C7 #C750D1
tetradic
#D1C750 #50D187 #505AD1 #D1509B
square
#D1C750 #50D187 #505AD1 #D1509B
split-complementary
#D1C750 #509BD1 #8750D1
monochromatic
#847C23 #B4AA2F #D1C750 #DED780 #EAE6B1

Accessibility & contrast

On white

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

On black

12.00
#D1C750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C750
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C750#FFFFFF#000000##000000
##D1C7501.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#E0BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c750;
/* rgb */ color: rgb(209, 199, 80);
/* oklch */ color: oklch(81.5% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#e2d786',
    500: '#d1c750',
    950: '#000000',
  },
}
SCSS
$custom: #d1c750;
$custom-light: #e2d786;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c750",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 80
  },
  "hsl": {
    "h": 55.349,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81546,
    "c": 0.13921,
    "h": 104.5
  },
  "luminance": 0.54981
}

Semantic roles & 50–950 ramp

primary
#D1C750
secondary
#3A418B
accent
#52E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C750

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

Preview Lab → · Contrast checker → · Palette generator →

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