#D6C74A#D6C74A

#D6C74A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.144 H 102.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D6C74A
RGBrgb(214, 199, 74)
HSLhsl(54, 63%, 56%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 7%, 65.4%, 16.1%)
CIE-LABlab(79.41, -9.25, 62.09)
CIE-LCHlch(79.41, 62.78, 98.48°)
OKLaboklab(81.93% -0.0309 0.1402)
OKLCHoklch(81.93% 0.144 102.4)
XYZxyz(49.3930, 55.6394, 14.6150)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C74A #4A59D6
analogous
#D6814A #D6C74A #9FD64A
triadic
#D6C74A #4AD6C7 #C74AD6
tetradic
#D6C74A #4AD681 #4A59D6 #D64A9F
square
#D6C74A #4AD681 #4A59D6 #D64A9F
split-complementary
#D6C74A #4A9FD6 #814AD6
monochromatic
#877C1F #B9AA2A #D6C74A #E1D67C #EDE6AE

Accessibility & contrast

On white

1.73
#D6C74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D6C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C74A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C74A#FFFFFF#000000##000000
##D6C74A1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13A
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#E6BAAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c74a;
/* rgb */ color: rgb(214, 199, 74);
/* oklch */ color: oklch(81.9% 0.144 102.4);
Tailwind
colors: {
  custom: {
    50: '#e6d783',
    500: '#d6c74a',
    950: '#000000',
  },
}
SCSS
$custom: #d6c74a;
$custom-light: #e6d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c74a",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 53.571,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81931,
    "c": 0.14356,
    "h": 102.4
  },
  "luminance": 0.55637
}

Semantic roles & 50–950 ramp

primary
#D6C74A
secondary
#37408D
accent
#53E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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