#D1C13B#D1C13B

#D1C13B is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.149 H 102.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D1C13B
RGBrgb(209, 193, 59)
HSLhsl(54, 62%, 53%)
HSVhsv(54, 72%, 82%)
CMYKcmyk(0%, 7.7%, 71.8%, 18%)
CIE-LABlab(77.29, -9.10, 65.64)
CIE-LCHlch(77.29, 66.26, 97.89°)
OKLaboklab(80.11% -0.0318 0.1453)
OKLCHoklch(80.11% 0.149 102.3)
XYZxyz(46.1559, 52.0130, 11.7451)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C13B #3B4BD1
analogous
#D1763B #D1C13B #96D13B
triadic
#D1C13B #3BD1C1 #C13BD1
tetradic
#D1C13B #3BD176 #3B4BD1 #D13B96
square
#D1C13B #3BD176 #3B4BD1 #D13B96
split-complementary
#D1C13B #3B96D1 #763BD1
monochromatic
#766C1C #A79A27 #D1C13B #DDD16D #E8E09E

Accessibility & contrast

On white

1.84
#D1C13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D1C13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C13B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C13B#FFFFFF#000000##000000
##D1C13B1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB24
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#E1B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c13b;
/* rgb */ color: rgb(209, 193, 59);
/* oklch */ color: oklch(80.1% 0.149 102.3);
Tailwind
colors: {
  custom: {
    50: '#e3d37a',
    500: '#d1c13b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c13b;
$custom-light: #e3d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c13b",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 53.6,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80111,
    "c": 0.14873,
    "h": 102.3
  },
  "luminance": 0.52011
}

Semantic roles & 50–950 ramp

primary
#D1C13B
secondary
#323A7E
accent
#54E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C13B

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

Preview Lab → · Contrast checker → · Palette generator →

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