#D7C94A#D7C94A

#D7C94A is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.145 H 103.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D7C94A
RGBrgb(215, 201, 74)
HSLhsl(54, 64%, 57%)
HSVhsv(54, 66%, 84%)
CMYKcmyk(0%, 6.5%, 65.6%, 15.7%)
CIE-LABlab(80.02, -9.85, 62.76)
CIE-LCHlch(80.02, 63.53, 98.92°)
OKLaboklab(82.44% -0.0327 0.1416)
OKLCHoklch(82.44% 0.145 103)
XYZxyz(50.1490, 56.7168, 14.7831)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C94A #4A58D7
analogous
#D7834A #D7C94A #9ED74A
triadic
#D7C94A #4AD7C9 #C94AD7
tetradic
#D7C94A #4AD783 #4A58D7 #D74A9E
square
#D7C94A #4AD783 #4A58D7 #D74A9E
split-complementary
#D7C94A #4A9ED7 #834AD7
monochromatic
#887E1E #BBAC29 #D7C94A #E2D87C #EDE7AE

Accessibility & contrast

On white

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

On black

12.34
#D7C94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C94A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C94A#FFFFFF#000000##000000
##D7C94A1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c94a;
/* rgb */ color: rgb(215, 201, 74);
/* oklch */ color: oklch(82.4% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7d983',
    500: '#d7c94a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c94a;
$custom-light: #e7d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c94a",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 54.043,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82438,
    "c": 0.14528,
    "h": 103
  },
  "luminance": 0.56715
}

Semantic roles & 50–950 ramp

primary
#D7C94A
secondary
#373F8F
accent
#51E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C94A

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

Preview Lab → · Contrast checker → · Palette generator →

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