#D6C839#D6C839

#D6C839 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.156 H 103.6°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D6C839
RGBrgb(214, 200, 57)
HSLhsl(55, 66%, 53%)
HSVhsv(55, 73%, 84%)
CMYKcmyk(0%, 6.5%, 73.4%, 16.1%)
CIE-LABlab(79.56, -10.63, 68.67)
CIE-LCHlch(79.56, 69.49, 98.80°)
OKLaboklab(82.01% -0.0365 0.1512)
OKLCHoklch(82.01% 0.156 103.6)
XYZxyz(49.1265, 55.9021, 12.0726)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C839 #3947D6
analogous
#D67A39 #D6C839 #95D639
triadic
#D6C839 #39D6C8 #C839D6
tetradic
#D6C839 #39D67A #3947D6 #D63995
square
#D6C839 #39D67A #3947D6 #D63995
split-complementary
#D6C839 #3995D6 #7A39D6
monochromatic
#7B7219 #AEA224 #D6C839 #E0D66C #EBE49E

Accessibility & contrast

On white

1.72
#D6C839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D6C839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C839
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C839#FFFFFF#000000##000000
##D6C8391.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11E
Deuteranopia (green-blind)
#DFC843
Tritanopia (blue-blind)
#E6BAAC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c839;
/* rgb */ color: rgb(214, 200, 57);
/* oklch */ color: oklch(82.0% 0.156 103.6);
Tailwind
colors: {
  custom: {
    50: '#e7d87a',
    500: '#d6c839',
    950: '#000000',
  },
}
SCSS
$custom: #d6c839;
$custom-light: #e7d87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c839",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 54.65,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82014,
    "c": 0.15554,
    "h": 103.6
  },
  "luminance": 0.559
}

Semantic roles & 50–950 ramp

primary
#D6C839
secondary
#303883
accent
#4EE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C839

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

Preview Lab → · Contrast checker → · Palette generator →

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