#D6C155#D6C155

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

Color values

HEX#D6C155
RGBrgb(214, 193, 85)
HSLhsl(50, 61%, 59%)
HSVhsv(50, 60%, 84%)
CMYKcmyk(0%, 9.8%, 60.3%, 16.1%)
CIE-LABlab(77.93, -5.48, 55.78)
CIE-LCHlch(77.93, 56.05, 95.61°)
OKLaboklab(80.79% -0.0189 0.1284)
OKLCHoklch(80.79% 0.13 98.4)
XYZxyz(48.4432, 53.0941, 16.2890)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C155 #556AD6
analogous
#D68055 #D6C155 #AAD655
triadic
#D6C155 #55D6C1 #C155D6
tetradic
#D6C155 #55D680 #556AD6 #D655AA
square
#D6C155 #55D680 #556AD6 #D655AA
split-complementary
#D6C155 #55AAD6 #8055D6
monochromatic
#8E7D22 #C0A82E #D6C155 #E2D386 #EEE5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6C155#FFFFFF#000000##000000
##D6C1551.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)
#D2BC49
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#E5B4AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c155;
/* rgb */ color: rgb(214, 193, 85);
/* oklch */ color: oklch(80.8% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#e6d389',
    500: '#d6c155',
    950: '#000000',
  },
}
SCSS
$custom: #d6c155;
$custom-light: #e6d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c155",
  "rgb": {
    "r": 214,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 50.233,
    "s": 61.137,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80789,
    "c": 0.12975,
    "h": 98.4
  },
  "luminance": 0.53092
}

Semantic roles & 50–950 ramp

primary
#D6C155
secondary
#3B4A94
accent
#5EE444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C155

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

Preview Lab → · Contrast checker → · Palette generator →

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