#D6CD40#D6CD40

#D6CD40 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.156 H 105.7°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D6CD40
RGBrgb(214, 205, 64)
HSLhsl(56, 65%, 55%)
HSVhsv(56, 70%, 84%)
CMYKcmyk(0%, 4.2%, 70.1%, 16.1%)
CIE-LABlab(80.92, -12.83, 67.50)
CIE-LCHlch(80.92, 68.71, 100.76°)
OKLaboklab(83.11% -0.0421 0.15)
OKLCHoklch(83.11% 0.156 105.7)
XYZxyz(50.4903, 58.3308, 13.4489)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD40 #4049D6
analogous
#D68240 #D6CD40 #94D640
triadic
#D6CD40 #40D6CD #CD40D6
tetradic
#D6CD40 #40D682 #4049D6 #D64094
square
#D6CD40 #40D682 #4049D6 #D64094
split-complementary
#D6CD40 #4094D6 #8240D6
monochromatic
#807A1B #B2AA26 #D6CD40 #E1DA72 #ECE7A5

Accessibility & contrast

On white

1.66
#D6CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#D6CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD40
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD40#FFFFFF#000000##000000
##D6CD401.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC629
Deuteranopia (green-blind)
#E2CC4A
Tritanopia (blue-blind)
#E6BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cd40;
/* rgb */ color: rgb(214, 205, 64);
/* oklch */ color: oklch(83.1% 0.156 105.7);
Tailwind
colors: {
  custom: {
    50: '#e6db7e',
    500: '#d6cd40',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd40;
$custom-light: #e6db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd40",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 56.4,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83114,
    "c": 0.15575,
    "h": 105.7
  },
  "luminance": 0.58329
}

Semantic roles & 50–950 ramp

primary
#D6CD40
secondary
#333887
accent
#4AE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D6CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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