#D1C03B#D1C03B

#D1C03B is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.148 H 101.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D1C03B
RGBrgb(209, 192, 59)
HSLhsl(53, 62%, 53%)
HSVhsv(53, 72%, 82%)
CMYKcmyk(0%, 8.1%, 71.8%, 18%)
CIE-LABlab(77.02, -8.59, 65.38)
CIE-LCHlch(77.02, 65.94, 97.48°)
OKLaboklab(79.9% -0.0303 0.1448)
OKLCHoklch(79.9% 0.148 101.8)
XYZxyz(45.9356, 51.5724, 11.6717)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C03B #3B4CD1
analogous
#D1753B #D1C03B #97D13B
triadic
#D1C03B #3BD1C0 #C03BD1
tetradic
#D1C03B #3BD175 #3B4CD1 #D13B97
square
#D1C03B #3BD175 #3B4CD1 #D13B97
split-complementary
#D1C03B #3B97D1 #753BD1
monochromatic
#766C1C #A79927 #D1C03B #DDD06D #E8E09E

Accessibility & contrast

On white

1.86
#D1C03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#D1C03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C03B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C03B#FFFFFF#000000##000000
##D1C03B1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA25
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#E1B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1c03b;
/* rgb */ color: rgb(209, 192, 59);
/* oklch */ color: oklch(79.9% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#e3d27a',
    500: '#d1c03b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c03b;
$custom-light: #e3d27a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c03b",
  "rgb": {
    "r": 209,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 53.2,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79901,
    "c": 0.14789,
    "h": 101.8
  },
  "luminance": 0.5157
}

Semantic roles & 50–950 ramp

primary
#D1C03B
secondary
#323B7E
accent
#55E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C03B

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

Preview Lab → · Contrast checker → · Palette generator →

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