#D1C43E#D1C43E

#D1C43E is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.149 H 103.7°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#D1C43E
RGBrgb(209, 196, 62)
HSLhsl(55, 62%, 53%)
HSVhsv(55, 70%, 82%)
CMYKcmyk(0%, 6.2%, 70.3%, 18%)
CIE-LABlab(78.10, -10.49, 65.33)
CIE-LCHlch(78.10, 66.16, 99.12°)
OKLaboklab(80.76% -0.0354 0.1452)
OKLCHoklch(80.76% 0.149 103.7)
XYZxyz(46.9059, 53.3849, 12.3900)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C43E #3E4BD1
analogous
#D17A3E #D1C43E #94D13E
triadic
#D1C43E #3ED1C4 #C43ED1
tetradic
#D1C43E #3ED17A #3E4BD1 #D13E94
square
#D1C43E #3ED17A #3E4BD1 #D13E94
split-complementary
#D1C43E #3E94D1 #7A3ED1
monochromatic
#78701D #A99E28 #D1C43E #DDD36F #E9E2A1

Accessibility & contrast

On white

1.80
#D1C43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#D1C43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C43E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C43E#FFFFFF#000000##000000
##D1C43E1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD28
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#E1B7A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c43e;
/* rgb */ color: rgb(209, 196, 62);
/* oklch */ color: oklch(80.8% 0.149 103.7);
Tailwind
colors: {
  custom: {
    50: '#e3d57c',
    500: '#d1c43e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c43e;
$custom-light: #e3d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c43e",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 62
  },
  "hsl": {
    "h": 54.694,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80763,
    "c": 0.14943,
    "h": 103.7
  },
  "luminance": 0.53383
}

Semantic roles & 50–950 ramp

primary
#D1C43E
secondary
#333A80
accent
#51E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C43E

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

Preview Lab → · Contrast checker → · Palette generator →

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