#D6CA4F#D6CA4F

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

Color values

HEX#D6CA4F
RGBrgb(214, 202, 79)
HSLhsl(55, 62%, 57%)
HSVhsv(55, 63%, 84%)
CMYKcmyk(0%, 5.6%, 63.1%, 16.1%)
CIE-LABlab(80.24, -10.48, 60.90)
CIE-LCHlch(80.24, 61.79, 99.76°)
OKLaboklab(82.6% -0.0338 0.1384)
OKLCHoklch(82.6% 0.142 103.7)
XYZxyz(50.2653, 57.1036, 15.7700)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA4F #4F5BD6
analogous
#D6874F #D6CA4F #9ED64F
triadic
#D6CA4F #4FD6CA #CA4FD6
tetradic
#D6CA4F #4FD687 #4F5BD6 #D64F9E
square
#D6CA4F #4FD687 #4F5BD6 #D64F9E
split-complementary
#D6CA4F #4F9ED6 #874FD6
monochromatic
#8A8120 #BCAF2C #D6CA4F #E2D981 #EDE8B2

Accessibility & contrast

On white

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

On black

12.42
#D6CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA4F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA4F#FFFFFF#000000##000000
##D6CA4F1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6ca4f;
/* rgb */ color: rgb(214, 202, 79);
/* oklch */ color: oklch(82.6% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6d986',
    500: '#d6ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca4f;
$custom-light: #e6d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca4f",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 54.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82604,
    "c": 0.14249,
    "h": 103.7
  },
  "luminance": 0.57102
}

Semantic roles & 50–950 ramp

primary
#D6CA4F
secondary
#394190
accent
#51E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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