#D7C94E#D7C94E

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

Color values

HEX#D7C94E
RGBrgb(215, 201, 78)
HSLhsl(54, 63%, 57%)
HSVhsv(54, 64%, 84%)
CMYKcmyk(0%, 6.5%, 63.7%, 15.7%)
CIE-LABlab(80.05, -9.61, 61.14)
CIE-LCHlch(80.05, 61.89, 98.94°)
OKLaboklab(82.47% -0.0316 0.1388)
OKLCHoklch(82.47% 0.142 102.8)
XYZxyz(50.2881, 56.7724, 15.5155)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C94E #4E5CD7
analogous
#D7854E #D7C94E #A0D74E
triadic
#D7C94E #4ED7C9 #C94ED7
tetradic
#D7C94E #4ED785 #4E5CD7 #D74EA0
square
#D7C94E #4ED785 #4E5CD7 #D74EA0
split-complementary
#D7C94E #4EA0D7 #854ED7
monochromatic
#8B801F #BDAE2B #D7C94E #E2D880 #EEE7B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C94E#FFFFFF#000000##000000
##D7C94E1.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)
#DAC33F
Deuteranopia (green-blind)
#DFC955
Tritanopia (blue-blind)
#E6BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c94e;
/* rgb */ color: rgb(215, 201, 78);
/* oklch */ color: oklch(82.5% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e6d985',
    500: '#d7c94e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c94e;
$custom-light: #e6d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c94e",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 53.869,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82473,
    "c": 0.14229,
    "h": 102.8
  },
  "luminance": 0.5677
}

Semantic roles & 50–950 ramp

primary
#D7C94E
secondary
#384191
accent
#52E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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