#D6C73F#D6C73F

#D6C73F is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.151 H 102.9°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D6C73F
RGBrgb(214, 199, 63)
HSLhsl(54, 65%, 54%)
HSVhsv(54, 71%, 84%)
CMYKcmyk(0%, 7%, 70.6%, 16.1%)
CIE-LABlab(79.33, -9.84, 66.31)
CIE-LCHlch(79.33, 67.04, 98.44°)
OKLaboklab(81.85% -0.0337 0.1473)
OKLCHoklch(81.85% 0.151 102.9)
XYZxyz(49.0543, 55.5039, 12.8311)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C73F #3F4ED6
analogous
#D67C3F #D6C73F #99D63F
triadic
#D6C73F #3FD6C7 #C73FD6
tetradic
#D6C73F #3FD67C #3F4ED6 #D63F99
square
#D6C73F #3FD67C #3F4ED6 #D63F99
split-complementary
#D6C73F #3F99D6 #7C3FD6
monochromatic
#7F751B #B2A426 #D6C73F #E1D671 #ECE4A4

Accessibility & contrast

On white

1.74
#D6C73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D6C73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C73F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C73F#FFFFFF#000000##000000
##D6C73F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C129
Deuteranopia (green-blind)
#DEC848
Tritanopia (blue-blind)
#E6B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d6c73f;
/* rgb */ color: rgb(214, 199, 63);
/* oklch */ color: oklch(81.8% 0.151 102.9);
Tailwind
colors: {
  custom: {
    50: '#e6d77c',
    500: '#d6c73f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c73f;
$custom-light: #e6d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c73f",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 63
  },
  "hsl": {
    "h": 54.04,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81845,
    "c": 0.15108,
    "h": 102.9
  },
  "luminance": 0.55502
}

Semantic roles & 50–950 ramp

primary
#D6C73F
secondary
#333B87
accent
#51E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C73F

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

Preview Lab → · Contrast checker → · Palette generator →

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