#D6CD4F#D6CD4F

#D6CD4F is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.145 H 105.2°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D6CD4F
RGBrgb(214, 205, 79)
HSLhsl(56, 62%, 57%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 4.2%, 63.1%, 16.1%)
CIE-LABlab(81.03, -12.00, 61.74)
CIE-LCHlch(81.03, 62.89, 101.00°)
OKLaboklab(83.23% -0.0382 0.1402)
OKLCHoklch(83.23% 0.145 105.2)
XYZxyz(50.9760, 58.5251, 16.0069)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD4F #4F58D6
analogous
#D68A4F #D6CD4F #9CD64F
triadic
#D6CD4F #4FD6CD #CD4FD6
tetradic
#D6CD4F #4FD68A #4F58D6 #D64F9C
square
#D6CD4F #4FD68A #4F58D6 #D64F9C
split-complementary
#D6CD4F #4F9CD6 #8A4FD6
monochromatic
#8A8320 #BCB22C #D6CD4F #E2DB81 #EDE9B2

Accessibility & contrast

On white

1.65
#D6CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D6CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD4F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD4F#FFFFFF#000000##000000
##D6CD4F1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63F
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#E5C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cd4f;
/* rgb */ color: rgb(214, 205, 79);
/* oklch */ color: oklch(83.2% 0.145 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6dc86',
    500: '#d6cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd4f;
$custom-light: #e6dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd4f",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 56,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83234,
    "c": 0.14529,
    "h": 105.2
  },
  "luminance": 0.58523
}

Semantic roles & 50–950 ramp

primary
#D6CD4F
secondary
#393F90
accent
#4DE543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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