#D7D14F#D7D14F

#D7D14F is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.149 H 106.7°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D7D14F
RGBrgb(215, 209, 79)
HSLhsl(57, 63%, 58%)
HSVhsv(57, 63%, 84%)
CMYKcmyk(0%, 2.8%, 63.3%, 15.7%)
CIE-LABlab(82.17, -13.59, 62.97)
CIE-LCHlch(82.17, 64.42, 102.18°)
OKLaboklab(84.16% -0.0427 0.1428)
OKLCHoklch(84.16% 0.149 106.7)
XYZxyz(52.2379, 60.6142, 16.3436)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D14F #4F55D7
analogous
#D78D4F #D7D14F #99D74F
triadic
#D7D14F #4FD7D1 #D14FD7
tetradic
#D7D14F #4FD78D #4F55D7 #D74F99
square
#D7D14F #4FD78D #4F55D7 #D74F99
split-complementary
#D7D14F #4F99D7 #8D4FD7
monochromatic
#8C8720 #BEB72B #D7D14F #E2DE81 #EEEBB3

Accessibility & contrast

On white

1.60
#D7D14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#D7D14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D14F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D14F#FFFFFF#000000##000000
##D7D14F1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93F
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#E6C4B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d14f;
/* rgb */ color: rgb(215, 209, 79);
/* oklch */ color: oklch(84.2% 0.149 106.7);
Tailwind
colors: {
  custom: {
    50: '#e6de86',
    500: '#d7d14f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d14f;
$custom-light: #e6de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d14f",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 79
  },
  "hsl": {
    "h": 57.353,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84162,
    "c": 0.14903,
    "h": 106.7
  },
  "luminance": 0.60613
}

Semantic roles & 50–950 ramp

primary
#D7D14F
secondary
#393C92
accent
#49E642
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D14F

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

Preview Lab → · Contrast checker → · Palette generator →

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