#D1C73E#D1C73E

#D1C73E is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.152 H 105.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D1C73E
RGBrgb(209, 199, 62)
HSLhsl(56, 62%, 53%)
HSVhsv(56, 70%, 82%)
CMYKcmyk(0%, 4.8%, 70.3%, 18%)
CIE-LABlab(78.90, -12.01, 66.11)
CIE-LCHlch(78.90, 67.19, 100.30°)
OKLaboklab(81.4% -0.0397 0.1468)
OKLCHoklch(81.4% 0.152 105.1)
XYZxyz(47.5894, 54.7518, 12.6179)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C73E #3E48D1
analogous
#D17D3E #D1C73E #92D13E
triadic
#D1C73E #3ED1C7 #C73ED1
tetradic
#D1C73E #3ED17D #3E48D1 #D13E92
square
#D1C73E #3ED17D #3E48D1 #D13E92
split-complementary
#D1C73E #3E92D1 #7D3ED1
monochromatic
#78721D #A9A128 #D1C73E #DDD56F #E9E4A1

Accessibility & contrast

On white

1.76
#D1C73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D1C73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C73E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C73E#FFFFFF#000000##000000
##D1C73E1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C027
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#E0BAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c73e;
/* rgb */ color: rgb(209, 199, 62);
/* oklch */ color: oklch(81.4% 0.152 105.1);
Tailwind
colors: {
  custom: {
    50: '#e3d77c',
    500: '#d1c73e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c73e;
$custom-light: #e3d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c73e",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 62
  },
  "hsl": {
    "h": 55.918,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81397,
    "c": 0.1521,
    "h": 105.1
  },
  "luminance": 0.5475
}

Semantic roles & 50–950 ramp

primary
#D1C73E
secondary
#333880
accent
#4EE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C73E

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

Preview Lab → · Contrast checker → · Palette generator →

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