#D7D245#D7D245

#D7D245 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.157 H 107.3°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D7D245
RGBrgb(215, 210, 69)
HSLhsl(58, 65%, 56%)
HSVhsv(58, 68%, 84%)
CMYKcmyk(0%, 2.3%, 67.9%, 15.7%)
CIE-LABlab(82.36, -14.66, 67.11)
CIE-LCHlch(82.36, 68.69, 102.32°)
OKLaboklab(84.29% -0.0468 0.1499)
OKLCHoklch(84.29% 0.157 107.3)
XYZxyz(52.1470, 60.9717, 14.6509)
Luminance0.6097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D245 #454AD7
analogous
#D78945 #D7D245 #93D745
triadic
#D7D245 #45D7D2 #D245D7
tetradic
#D7D245 #45D789 #454AD7 #D74593
square
#D7D245 #45D789 #454AD7 #D74593
split-complementary
#D7D245 #4593D7 #8945D7
monochromatic
#85811D #B7B227 #D7D245 #E2DE77 #EDEAAA

Accessibility & contrast

On white

1.59
#D7D245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D7D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D245
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D245#FFFFFF#000000##000000
##D7D2451.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2F
Deuteranopia (green-blind)
#E6CF4F
Tritanopia (blue-blind)
#E6C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d245;
/* rgb */ color: rgb(215, 210, 69);
/* oklch */ color: oklch(84.3% 0.157 107.3);
Tailwind
colors: {
  custom: {
    50: '#e7df81',
    500: '#d7d245',
    950: '#000000',
  },
}
SCSS
$custom: #d7d245;
$custom-light: #e7df81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d245",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 57.945,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84292,
    "c": 0.15706,
    "h": 107.3
  },
  "luminance": 0.6097
}

Semantic roles & 50–950 ramp

primary
#D7D245
secondary
#35388C
accent
#46E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D245

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

Preview Lab → · Contrast checker → · Palette generator →

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