#D6CA51#D6CA51

#D6CA51 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.141 H 103.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D6CA51
RGBrgb(214, 202, 81)
HSLhsl(55, 62%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.6%, 62.1%, 16.1%)
CIE-LABlab(80.25, -10.35, 60.07)
CIE-LCHlch(80.25, 60.95, 99.78°)
OKLaboklab(82.62% -0.0333 0.1369)
OKLCHoklch(82.62% 0.141 103.7)
XYZxyz(50.3392, 57.1332, 16.1592)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA51 #515DD6
analogous
#D68751 #D6CA51 #A0D651
triadic
#D6CA51 #51D6CA #CA51D6
tetradic
#D6CA51 #51D687 #515DD6 #D651A0
square
#D6CA51 #51D687 #515DD6 #D651A0
split-complementary
#D6CA51 #51A0D6 #8751D6
monochromatic
#8C8221 #BDB02D #D6CA51 #E2D983 #EDE8B4

Accessibility & contrast

On white

1.69
#D6CA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D6CA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA51
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA51#FFFFFF#000000##000000
##D6CA511.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#E5BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca51;
/* rgb */ color: rgb(214, 202, 81);
/* oklch */ color: oklch(82.6% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6d987',
    500: '#d6ca51',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca51;
$custom-light: #e6d987;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca51",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 54.586,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82622,
    "c": 0.14092,
    "h": 103.7
  },
  "luminance": 0.57131
}

Semantic roles & 50–950 ramp

primary
#D6CA51
secondary
#3A4292
accent
#51E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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