#D7C14D#D7C14D

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

Color values

HEX#D7C14D
RGBrgb(215, 193, 77)
HSLhsl(50, 63%, 57%)
HSVhsv(50, 64%, 84%)
CMYKcmyk(0%, 10.2%, 64.2%, 15.7%)
CIE-LABlab(77.95, -5.58, 59.33)
CIE-LCHlch(77.95, 59.59, 95.37°)
OKLaboklab(80.8% -0.0202 0.1348)
OKLCHoklch(80.8% 0.136 98.5)
XYZxyz(48.4359, 53.1250, 14.7226)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C14D #4D63D7
analogous
#D77C4D #D7C14D #A8D74D
triadic
#D7C14D #4DD7C1 #C14DD7
tetradic
#D7C14D #4DD77C #4D63D7 #D74DA8
square
#D7C14D #4DD77C #4D63D7 #D74DA8
split-complementary
#D7C14D #4DA8D7 #7C4DD7
monochromatic
#8A791F #BCA52A #D7C14D #E2D27F #EDE4B1

Accessibility & contrast

On white

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

On black

11.62
#D7C14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C14D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C14D#FFFFFF#000000##000000
##D7C14D1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c14d;
/* rgb */ color: rgb(215, 193, 77);
/* oklch */ color: oklch(80.8% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#e7d384',
    500: '#d7c14d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c14d;
$custom-light: #e7d384;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c14d",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 50.435,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.13626,
    "h": 98.5
  },
  "luminance": 0.53123
}

Semantic roles & 50–950 ramp

primary
#D7C14D
secondary
#384690
accent
#5CE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C14D

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

Preview Lab → · Contrast checker → · Palette generator →

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