#D1C243#D1C243

#D1C243 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.144 H 102.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D1C243
RGBrgb(209, 194, 67)
HSLhsl(54, 61%, 54%)
HSVhsv(54, 68%, 82%)
CMYKcmyk(0%, 7.2%, 67.9%, 18%)
CIE-LABlab(77.61, -9.21, 62.92)
CIE-LCHlch(77.61, 63.59, 98.33°)
OKLaboklab(80.38% -0.0313 0.1409)
OKLCHoklch(80.38% 0.144 102.5)
XYZxyz(46.6014, 52.5461, 12.9968)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C243 #4352D1
analogous
#D17B43 #D1C243 #99D143
triadic
#D1C243 #43D1C2 #C243D1
tetradic
#D1C243 #43D17B #4352D1 #D14399
square
#D1C243 #43D17B #4352D1 #D14399
split-complementary
#D1C243 #4399D1 #7B43D1
monochromatic
#7B721E #AD9F2A #D1C243 #DDD274 #E9E2A5

Accessibility & contrast

On white

1.82
#D1C243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#D1C243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C243
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C243#FFFFFF#000000##000000
##D1C2431.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC31
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#E0B5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c243;
/* rgb */ color: rgb(209, 194, 67);
/* oklch */ color: oklch(80.4% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#e3d47e',
    500: '#d1c243',
    950: '#000000',
  },
}
SCSS
$custom: #d1c243;
$custom-light: #e3d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c243",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 53.662,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8038,
    "c": 0.14437,
    "h": 102.5
  },
  "luminance": 0.52544
}

Semantic roles & 50–950 ramp

primary
#D1C243
secondary
#353D83
accent
#55E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C243

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

Preview Lab → · Contrast checker → · Palette generator →

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