#D7C14F#D7C14F

#D7C14F is a light, vivid yellow. Relative luminance 0.532; 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#D7C14F
RGBrgb(215, 193, 79)
HSLhsl(50, 63%, 58%)
HSVhsv(50, 63%, 84%)
CMYKcmyk(0%, 10.2%, 63.3%, 15.7%)
CIE-LABlab(77.97, -5.45, 58.49)
CIE-LCHlch(77.97, 58.74, 95.33°)
OKLaboklab(80.82% -0.0196 0.1333)
OKLCHoklch(80.82% 0.135 98.4)
XYZxyz(48.5076, 53.1537, 15.1002)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C14F #4F65D7
analogous
#D77D4F #D7C14F #A9D74F
triadic
#D7C14F #4FD7C1 #C14FD7
tetradic
#D7C14F #4FD77D #4F65D7 #D74FA9
square
#D7C14F #4FD77D #4F65D7 #D74FA9
split-complementary
#D7C14F #4FA9D7 #7D4FD7
monochromatic
#8C7A20 #BEA62B #D7C14F #E2D381 #EEE4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C14F#FFFFFF#000000##000000
##D7C14F1.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)
#D3BC42
Deuteranopia (green-blind)
#D9C455
Tritanopia (blue-blind)
#E7B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c14f;
/* rgb */ color: rgb(215, 193, 79);
/* oklch */ color: oklch(80.8% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#e7d385',
    500: '#d7c14f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c14f;
$custom-light: #e7d385;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c14f",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 50.294,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80821,
    "c": 0.1347,
    "h": 98.4
  },
  "luminance": 0.53152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C14F

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

Preview Lab → · Contrast checker → · Palette generator →

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