#D8D14F#D8D14F

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

Color values

HEX#D8D14F
RGBrgb(216, 209, 79)
HSLhsl(57, 64%, 58%)
HSVhsv(57, 63%, 85%)
CMYKcmyk(0%, 3.2%, 63.4%, 15.3%)
CIE-LABlab(82.25, -13.17, 63.08)
CIE-LCHlch(82.25, 64.44, 101.80°)
OKLaboklab(84.25% -0.0416 0.143)
OKLCHoklch(84.25% 0.149 106.2)
XYZxyz(52.5325, 60.7661, 16.3575)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D14F #4F56D8
analogous
#D88C4F #D8D14F #9BD84F
triadic
#D8D14F #4FD8D1 #D14FD8
tetradic
#D8D14F #4FD88C #4F56D8 #D84F9B
square
#D8D14F #4FD88C #4F56D8 #D84F9B
split-complementary
#D8D14F #4F9BD8 #8C4FD8
monochromatic
#8D881F #BFB82A #D8D14F #E3DE81 #EEEBB3

Accessibility & contrast

On white

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

On black

13.15
#D8D14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D14F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D14F#FFFFFF#000000##000000
##D8D14F1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3E
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#E7C4B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d14f;
/* rgb */ color: rgb(216, 209, 79);
/* oklch */ color: oklch(84.2% 0.149 106.2);
Tailwind
colors: {
  custom: {
    50: '#e7de86',
    500: '#d8d14f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d14f;
$custom-light: #e7de86;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d14f",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 79
  },
  "hsl": {
    "h": 56.934,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84247,
    "c": 0.14891,
    "h": 106.2
  },
  "luminance": 0.60764
}

Semantic roles & 50–950 ramp

primary
#D8D14F
secondary
#383D93
accent
#4AE741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D14F

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

Preview Lab → · Contrast checker → · Palette generator →

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