#D1C150#D1C150

#D1C150 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.134 H 101.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D1C150
RGBrgb(209, 193, 80)
HSLhsl(53, 58%, 57%)
HSVhsv(53, 62%, 82%)
CMYKcmyk(0%, 7.7%, 61.7%, 18%)
CIE-LABlab(77.45, -7.92, 57.33)
CIE-LCHlch(77.45, 57.88, 97.86°)
OKLaboklab(80.29% -0.0261 0.1311)
OKLCHoklch(80.29% 0.134 101.3)
XYZxyz(46.8142, 52.2763, 15.2123)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C150 #5060D1
analogous
#D18150 #D1C150 #A1D150
triadic
#D1C150 #50D1C1 #C150D1
tetradic
#D1C150 #50D181 #5060D1 #D150A1
square
#D1C150 #50D181 #5060D1 #D150A1
split-complementary
#D1C150 #50A1D1 #8150D1
monochromatic
#847823 #B4A42F #D1C150 #DED280 #EAE3B1

Accessibility & contrast

On white

1.83
#D1C150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D1C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C150
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C150#FFFFFF#000000##000000
##D1C1501.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#E0B4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c150;
/* rgb */ color: rgb(209, 193, 80);
/* oklch */ color: oklch(80.3% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#e2d386',
    500: '#d1c150',
    950: '#000000',
  },
}
SCSS
$custom: #d1c150;
$custom-light: #e2d386;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c150",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 52.558,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80286,
    "c": 0.13371,
    "h": 101.3
  },
  "luminance": 0.52274
}

Semantic roles & 50–950 ramp

primary
#D1C150
secondary
#3A448B
accent
#59E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C150

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

Preview Lab → · Contrast checker → · Palette generator →

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