#D7D13E#D7D13E

#D7D13E is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.0% C 0.161 H 107.0°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D7D13E
RGBrgb(215, 209, 62)
HSLhsl(58, 66%, 54%)
HSVhsv(58, 71%, 84%)
CMYKcmyk(0%, 2.8%, 71.2%, 15.7%)
CIE-LABlab(82.05, -14.50, 69.35)
CIE-LCHlch(82.05, 70.85, 101.81°)
OKLaboklab(84.03% -0.047 0.1535)
OKLCHoklch(84.03% 0.161 107)
XYZxyz(51.6963, 60.3976, 13.4913)
Luminance0.6040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D13E #3E44D7
analogous
#D7853E #D7D13E #91D73E
triadic
#D7D13E #3ED7D1 #D13ED7
tetradic
#D7D13E #3ED785 #3E44D7 #D73E91
square
#D7D13E #3ED785 #3E44D7 #D73E91
split-complementary
#D7D13E #3E91D7 #853ED7
monochromatic
#807C1B #B3AD25 #D7D13E #E2DD71 #ECE9A3

Accessibility & contrast

On white

1.61
#D7D13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#D7D13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D13E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D13E#FFFFFF#000000##000000
##D7D13E1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C924
Deuteranopia (green-blind)
#E5CF49
Tritanopia (blue-blind)
#E7C3B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d13e;
/* rgb */ color: rgb(215, 209, 62);
/* oklch */ color: oklch(84.0% 0.161 107.0);
Tailwind
colors: {
  custom: {
    50: '#e7de7d',
    500: '#d7d13e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d13e;
$custom-light: #e7de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d13e",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 62
  },
  "hsl": {
    "h": 57.647,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.84031,
    "c": 0.16052,
    "h": 107
  },
  "luminance": 0.60396
}

Semantic roles & 50–950 ramp

primary
#D7D13E
secondary
#323587
accent
#46E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7D13E

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

Preview Lab → · Contrast checker → · Palette generator →

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