#D7D348#D7D348

#D7D348 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.5% C 0.156 H 107.7°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D7D348
RGBrgb(215, 211, 72)
HSLhsl(58, 64%, 56%)
HSVhsv(58, 67%, 84%)
CMYKcmyk(0%, 1.9%, 66.5%, 15.7%)
CIE-LABlab(82.65, -14.99, 66.25)
CIE-LCHlch(82.65, 67.93, 102.75°)
OKLaboklab(84.53% -0.0474 0.1486)
OKLCHoklch(84.53% 0.156 107.7)
XYZxyz(52.4902, 61.5052, 15.2363)
Luminance0.6150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D348 #484CD7
analogous
#D78C48 #D7D348 #94D748
triadic
#D7D348 #48D7D3 #D348D7
tetradic
#D7D348 #48D78C #484CD7 #D74894
square
#D7D348 #48D78C #484CD7 #D74894
split-complementary
#D7D348 #4894D7 #8C48D7
monochromatic
#87841E #B9B529 #D7D348 #E2DF7A #EDEBAC

Accessibility & contrast

On white

1.58
#D7D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#D7D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D348
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D348#FFFFFF#000000##000000
##D7D3481.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB34
Deuteranopia (green-blind)
#E7D051
Tritanopia (blue-blind)
#E6C6B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d348;
/* rgb */ color: rgb(215, 211, 72);
/* oklch */ color: oklch(84.5% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#e7e082',
    500: '#d7d348',
    950: '#000000',
  },
}
SCSS
$custom: #d7d348;
$custom-light: #e7e082;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d348",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 58.322,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84527,
    "c": 0.156,
    "h": 107.7
  },
  "luminance": 0.61503
}

Semantic roles & 50–950 ramp

primary
#D7D348
secondary
#36388D
accent
#45E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D348

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

Preview Lab → · Contrast checker → · Palette generator →

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