#D7C94C#D7C94C

#D7C94C is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.144 H 102.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D7C94C
RGBrgb(215, 201, 76)
HSLhsl(54, 63%, 57%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 6.5%, 64.7%, 15.7%)
CIE-LABlab(80.04, -9.73, 61.96)
CIE-LCHlch(80.04, 62.72, 98.93°)
OKLaboklab(82.46% -0.0321 0.1402)
OKLCHoklch(82.46% 0.144 102.9)
XYZxyz(50.2175, 56.7441, 15.1436)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C94C #4C5AD7
analogous
#D7844C #D7C94C #9FD74C
triadic
#D7C94C #4CD7C9 #C94CD7
tetradic
#D7C94C #4CD784 #4C5AD7 #D74C9F
square
#D7C94C #4CD784 #4C5AD7 #D74C9F
split-complementary
#D7C94C #4C9FD7 #844CD7
monochromatic
#8A7F1F #BCAD2A #D7C94C #E2D87E #EDE7B0

Accessibility & contrast

On white

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

On black

12.35
#D7C94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C94C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C94C#FFFFFF#000000##000000
##D7C94C1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33C
Deuteranopia (green-blind)
#DFC953
Tritanopia (blue-blind)
#E7BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c94c;
/* rgb */ color: rgb(215, 201, 76);
/* oklch */ color: oklch(82.5% 0.144 102.9);
Tailwind
colors: {
  custom: {
    50: '#e7d984',
    500: '#d7c94c',
    950: '#000000',
  },
}
SCSS
$custom: #d7c94c;
$custom-light: #e7d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c94c",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 53.957,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82455,
    "c": 0.1438,
    "h": 102.9
  },
  "luminance": 0.56742
}

Semantic roles & 50–950 ramp

primary
#D7C94C
secondary
#374090
accent
#52E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C94C

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

Preview Lab → · Contrast checker → · Palette generator →

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