#D6CA3F#D6CA3F

#D6CA3F is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.154 H 104.3°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D6CA3F
RGBrgb(214, 202, 63)
HSLhsl(55, 65%, 54%)
HSVhsv(55, 71%, 84%)
CMYKcmyk(0%, 5.6%, 70.6%, 16.1%)
CIE-LABlab(80.12, -11.36, 67.09)
CIE-LCHlch(80.12, 68.04, 99.61°)
OKLaboklab(82.48% -0.038 0.1489)
OKLCHoklch(82.48% 0.154 104.3)
XYZxyz(49.7514, 56.8980, 13.0634)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CA3F #3F4BD6
analogous
#D67F3F #D6CA3F #97D63F
triadic
#D6CA3F #3FD6CA #CA3FD6
tetradic
#D6CA3F #3FD67F #3F4BD6 #D63F97
square
#D6CA3F #3FD67F #3F4BD6 #D63F97
split-complementary
#D6CA3F #3F97D6 #7F3FD6
monochromatic
#7F771B #B2A726 #D6CA3F #E1D871 #ECE6A4

Accessibility & contrast

On white

1.70
#D6CA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D6CA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CA3F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CA3F#FFFFFF#000000##000000
##D6CA3F1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#E0CA48
Tritanopia (blue-blind)
#E6BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6ca3f;
/* rgb */ color: rgb(214, 202, 63);
/* oklch */ color: oklch(82.5% 0.154 104.3);
Tailwind
colors: {
  custom: {
    50: '#e6d97d',
    500: '#d6ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #d6ca3f;
$custom-light: #e6d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ca3f",
  "rgb": {
    "r": 214,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 55.232,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82475,
    "c": 0.15368,
    "h": 104.3
  },
  "luminance": 0.56896
}

Semantic roles & 50–950 ramp

primary
#D6CA3F
secondary
#333987
accent
#4DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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