#D6C154#D6C154

#D6C154 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.131 H 98.5°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D6C154
RGBrgb(214, 193, 84)
HSLhsl(50, 61%, 58%)
HSVhsv(50, 61%, 84%)
CMYKcmyk(0%, 9.8%, 60.7%, 16.1%)
CIE-LABlab(77.92, -5.55, 56.21)
CIE-LCHlch(77.92, 56.49, 95.64°)
OKLaboklab(80.78% -0.0192 0.1292)
OKLCHoklch(80.78% 0.131 98.5)
XYZxyz(48.4037, 53.0783, 16.0813)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C154 #5469D6
analogous
#D68054 #D6C154 #AAD654
triadic
#D6C154 #54D6C1 #C154D6
tetradic
#D6C154 #54D680 #5469D6 #D654AA
square
#D6C154 #54D680 #5469D6 #D654AA
split-complementary
#D6C154 #54AAD6 #8054D6
monochromatic
#8E7C22 #BFA82E #D6C154 #E2D385 #EEE5B7

Accessibility & contrast

On white

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

On black

11.62
#D6C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C154
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C154#FFFFFF#000000##000000
##D6C1541.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC48
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#E6B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c154;
/* rgb */ color: rgb(214, 193, 84);
/* oklch */ color: oklch(80.8% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#e6d388',
    500: '#d6c154',
    950: '#000000',
  },
}
SCSS
$custom: #d6c154;
$custom-light: #e6d388;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c154",
  "rgb": {
    "r": 214,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 50.308,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80779,
    "c": 0.13059,
    "h": 98.5
  },
  "luminance": 0.53076
}

Semantic roles & 50–950 ramp

primary
#D6C154
secondary
#3B4993
accent
#5DE443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C154

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

Preview Lab → · Contrast checker → · Palette generator →

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