#D7C14E#D7C14E

#D7C14E is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.135 H 98.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D7C14E
RGBrgb(215, 193, 78)
HSLhsl(50, 63%, 57%)
HSVhsv(50, 64%, 84%)
CMYKcmyk(0%, 10.2%, 63.7%, 15.7%)
CIE-LABlab(77.96, -5.52, 58.91)
CIE-LCHlch(77.96, 59.17, 95.35°)
OKLaboklab(80.81% -0.0199 0.134)
OKLCHoklch(80.81% 0.135 98.4)
XYZxyz(48.4715, 53.1393, 14.9100)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C14E #4E64D7
analogous
#D77D4E #D7C14E #A9D74E
triadic
#D7C14E #4ED7C1 #C14ED7
tetradic
#D7C14E #4ED77D #4E64D7 #D74EA9
square
#D7C14E #4ED77D #4E64D7 #D74EA9
split-complementary
#D7C14E #4EA9D7 #7D4ED7
monochromatic
#8B7A1F #BDA62B #D7C14E #E2D280 #EEE4B2

Accessibility & contrast

On white

1.81
#D7C14E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D7C14E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C14E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C14E#FFFFFF#000000##000000
##D7C14E1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC40
Deuteranopia (green-blind)
#D9C454
Tritanopia (blue-blind)
#E7B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c14e;
/* rgb */ color: rgb(215, 193, 78);
/* oklch */ color: oklch(80.8% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#e7d385',
    500: '#d7c14e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c14e;
$custom-light: #e7d385;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c14e",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 78
  },
  "hsl": {
    "h": 50.365,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80811,
    "c": 0.13548,
    "h": 98.4
  },
  "luminance": 0.53137
}

Semantic roles & 50–950 ramp

primary
#D7C14E
secondary
#384691
accent
#5CE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C14E

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

Preview Lab → · Contrast checker → · Palette generator →

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