#D1C43B#D1C43B

#D1C43B is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.151 H 103.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D1C43B
RGBrgb(209, 196, 59)
HSLhsl(55, 62%, 53%)
HSVhsv(55, 72%, 82%)
CMYKcmyk(0%, 6.2%, 71.8%, 18%)
CIE-LABlab(78.08, -10.63, 66.41)
CIE-LCHlch(78.08, 67.25, 99.10°)
OKLaboklab(80.74% -0.0361 0.1469)
OKLCHoklch(80.74% 0.151 103.8)
XYZxyz(46.8258, 53.3528, 11.9684)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C43B #3B48D1
analogous
#D1793B #D1C43B #93D13B
triadic
#D1C43B #3BD1C4 #C43BD1
tetradic
#D1C43B #3BD179 #3B48D1 #D13B93
square
#D1C43B #3BD179 #3B48D1 #D13B93
split-complementary
#D1C43B #3B93D1 #793BD1
monochromatic
#766E1C #A79C27 #D1C43B #DDD36D #E8E29E

Accessibility & contrast

On white

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

On black

11.67
#D1C43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C43B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C43B#FFFFFF#000000##000000
##D1C43B1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD23
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#E1B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c43b;
/* rgb */ color: rgb(209, 196, 59);
/* oklch */ color: oklch(80.7% 0.151 103.8);
Tailwind
colors: {
  custom: {
    50: '#e3d57a',
    500: '#d1c43b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c43b;
$custom-light: #e3d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c43b",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 54.8,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80742,
    "c": 0.1513,
    "h": 103.8
  },
  "luminance": 0.53351
}

Semantic roles & 50–950 ramp

primary
#D1C43B
secondary
#32397E
accent
#51E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C43B

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

Preview Lab → · Contrast checker → · Palette generator →

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