#D6C751#D6C751

#D6C751 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.138 H 102.1°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D6C751
RGBrgb(214, 199, 81)
HSLhsl(53, 62%, 58%)
HSVhsv(53, 62%, 84%)
CMYKcmyk(0%, 7%, 62.1%, 16.1%)
CIE-LABlab(79.47, -8.83, 59.22)
CIE-LCHlch(79.47, 59.87, 98.48°)
OKLaboklab(81.99% -0.0289 0.1351)
OKLCHoklch(81.99% 0.138 102.1)
XYZxyz(49.6421, 55.7390, 15.9268)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C751 #5160D6
analogous
#D68451 #D6C751 #A2D651
triadic
#D6C751 #51D6C7 #C751D6
tetradic
#D6C751 #51D684 #5160D6 #D651A2
square
#D6C751 #51D684 #5160D6 #D651A2
split-complementary
#D6C751 #51A2D6 #8451D6
monochromatic
#8C8021 #BDAD2D #D6C751 #E2D783 #EDE7B4

Accessibility & contrast

On white

1.73
#D6C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D6C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C751
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C751#FFFFFF#000000##000000
##D6C7511.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#E5BAAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c751;
/* rgb */ color: rgb(214, 199, 81);
/* oklch */ color: oklch(82.0% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#e6d787',
    500: '#d6c751',
    950: '#000000',
  },
}
SCSS
$custom: #d6c751;
$custom-light: #e6d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c751",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 53.233,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81995,
    "c": 0.1382,
    "h": 102.1
  },
  "luminance": 0.55737
}

Semantic roles & 50–950 ramp

primary
#D6C751
secondary
#3A4492
accent
#55E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6C751

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

Preview Lab → · Contrast checker → · Palette generator →

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