#D6C73B#D6C73B

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

Color values

HEX#D6C73B
RGBrgb(214, 199, 59)
HSLhsl(54, 65%, 54%)
HSVhsv(54, 72%, 84%)
CMYKcmyk(0%, 7%, 72.4%, 16.1%)
CIE-LABlab(79.31, -10.03, 67.73)
CIE-LCHlch(79.31, 68.47, 98.42°)
OKLaboklab(81.82% -0.0347 0.1496)
OKLCHoklch(81.82% 0.154 103.1)
XYZxyz(48.9466, 55.4608, 12.2636)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C73B #3B4AD6
analogous
#D6793B #D6C73B #97D63B
triadic
#D6C73B #3BD6C7 #C73BD6
tetradic
#D6C73B #3BD679 #3B4AD6 #D63B97
square
#D6C73B #3BD679 #3B4AD6 #D63B97
split-complementary
#D6C73B #3B97D6 #793BD6
monochromatic
#7D731A #AFA225 #D6C73B #E1D56E #EBE4A0

Accessibility & contrast

On white

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

On black

12.09
#D6C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C73B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C73B#FFFFFF#000000##000000
##D6C73B1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6c73b;
/* rgb */ color: rgb(214, 199, 59);
/* oklch */ color: oklch(81.8% 0.154 103.1);
Tailwind
colors: {
  custom: {
    50: '#e7d77a',
    500: '#d6c73b',
    950: '#000000',
  },
}
SCSS
$custom: #d6c73b;
$custom-light: #e7d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c73b",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 54.194,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81818,
    "c": 0.15353,
    "h": 103.1
  },
  "luminance": 0.55459
}

Semantic roles & 50–950 ramp

primary
#D6C73B
secondary
#313984
accent
#50E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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