#D7C74D#D7C74D

#D7C74D is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.141 H 101.8°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D7C74D
RGBrgb(215, 199, 77)
HSLhsl(53, 63%, 57%)
HSVhsv(53, 64%, 84%)
CMYKcmyk(0%, 7.4%, 64.2%, 15.7%)
CIE-LABlab(79.52, -8.66, 61.00)
CIE-LCHlch(79.52, 61.61, 98.08°)
OKLaboklab(82.05% -0.0289 0.1383)
OKLCHoklch(82.05% 0.141 101.8)
XYZxyz(49.7893, 55.8318, 15.1737)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C74D #4D5DD7
analogous
#D7824D #D7C74D #A2D74D
triadic
#D7C74D #4DD7C7 #C74DD7
tetradic
#D7C74D #4DD782 #4D5DD7 #D74DA2
square
#D7C74D #4DD782 #4D5DD7 #D74DA2
split-complementary
#D7C74D #4DA2D7 #824DD7
monochromatic
#8A7E1F #BCAC2A #D7C74D #E2D77F #EDE6B1

Accessibility & contrast

On white

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

On black

12.17
#D7C74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C74D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C74D#FFFFFF#000000##000000
##D7C74D1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13E
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#E7BAAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c74d;
/* rgb */ color: rgb(215, 199, 77);
/* oklch */ color: oklch(82.0% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#e7d784',
    500: '#d7c74d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c74d;
$custom-light: #e7d784;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c74d",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 53.043,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82047,
    "c": 0.14129,
    "h": 101.8
  },
  "luminance": 0.5583
}

Semantic roles & 50–950 ramp

primary
#D7C74D
secondary
#384290
accent
#55E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C74D

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

Preview Lab → · Contrast checker → · Palette generator →

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