#D6C74E#D6C74E

#D6C74E is a light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.141 H 102.2°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D6C74E
RGBrgb(214, 199, 78)
HSLhsl(53, 62%, 57%)
HSVhsv(53, 64%, 84%)
CMYKcmyk(0%, 7%, 63.6%, 16.1%)
CIE-LABlab(79.44, -9.01, 60.47)
CIE-LCHlch(79.44, 61.13, 98.48°)
OKLaboklab(81.97% -0.0298 0.1374)
OKLCHoklch(81.97% 0.141 102.2)
XYZxyz(49.5321, 55.6950, 15.3474)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C74E #4E5DD6
analogous
#D6834E #D6C74E #A1D64E
triadic
#D6C74E #4ED6C7 #C74ED6
tetradic
#D6C74E #4ED683 #4E5DD6 #D64EA1
square
#D6C74E #4ED683 #4E5DD6 #D64EA1
split-complementary
#D6C74E #4EA1D6 #834ED6
monochromatic
#8A7E20 #BBAC2B #D6C74E #E2D780 #EDE6B1

Accessibility & contrast

On white

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

On black

12.14
#D6C74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C74E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C74E#FFFFFF#000000##000000
##D6C74E1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13F
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#E5BAAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c74e;
/* rgb */ color: rgb(214, 199, 78);
/* oklch */ color: oklch(82.0% 0.141 102.2);
Tailwind
colors: {
  custom: {
    50: '#e6d785',
    500: '#d6c74e',
    950: '#000000',
  },
}
SCSS
$custom: #d6c74e;
$custom-light: #e6d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c74e",
  "rgb": {
    "r": 214,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 53.382,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81967,
    "c": 0.14055,
    "h": 102.2
  },
  "luminance": 0.55693
}

Semantic roles & 50–950 ramp

primary
#D6C74E
secondary
#384290
accent
#54E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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