#D1C33B#D1C33B

#D1C33B is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.150 H 103.3°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D1C33B
RGBrgb(209, 195, 59)
HSLhsl(54, 62%, 53%)
HSVhsv(54, 72%, 82%)
CMYKcmyk(0%, 6.7%, 71.8%, 18%)
CIE-LABlab(77.82, -10.12, 66.15)
CIE-LCHlch(77.82, 66.92, 98.70°)
OKLaboklab(80.53% -0.0347 0.1464)
OKLCHoklch(80.53% 0.15 103.3)
XYZxyz(46.6010, 52.9032, 11.8935)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C33B #3B49D1
analogous
#D1783B #D1C33B #94D13B
triadic
#D1C33B #3BD1C3 #C33BD1
tetradic
#D1C33B #3BD178 #3B49D1 #D13B94
square
#D1C33B #3BD178 #3B49D1 #D13B94
split-complementary
#D1C33B #3B94D1 #783BD1
monochromatic
#766E1C #A79C27 #D1C33B #DDD26D #E8E19E

Accessibility & contrast

On white

1.81
#D1C33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D1C33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C33B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C33B#FFFFFF#000000##000000
##D1C33B1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD24
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#E1B5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c33b;
/* rgb */ color: rgb(209, 195, 59);
/* oklch */ color: oklch(80.5% 0.150 103.3);
Tailwind
colors: {
  custom: {
    50: '#e3d47a',
    500: '#d1c33b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c33b;
$custom-light: #e3d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c33b",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 54.4,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80531,
    "c": 0.15043,
    "h": 103.3
  },
  "luminance": 0.52901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C33B

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

Preview Lab → · Contrast checker → · Palette generator →

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