#D7D34F#D7D34F

#D7D34F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.151 H 107.6°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D7D34F
RGBrgb(215, 211, 79)
HSLhsl(58, 63%, 58%)
HSVhsv(58, 63%, 84%)
CMYKcmyk(0%, 1.9%, 63.3%, 15.7%)
CIE-LABlab(82.70, -14.59, 63.53)
CIE-LCHlch(82.70, 65.18, 102.93°)
OKLaboklab(84.59% -0.0456 0.144)
OKLCHoklch(84.59% 0.151 107.6)
XYZxyz(52.7317, 61.6018, 16.5082)
Luminance0.6160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D34F #4F53D7
analogous
#D78F4F #D7D34F #97D74F
triadic
#D7D34F #4FD7D3 #D34FD7
tetradic
#D7D34F #4FD78F #4F53D7 #D74F97
square
#D7D34F #4FD78F #4F53D7 #D74F97
split-complementary
#D7D34F #4F97D7 #8F4FD7
monochromatic
#8C8920 #BEB92B #D7D34F #E2DF81 #EEECB3

Accessibility & contrast

On white

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

On black

13.32
#D7D34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D34F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D34F#FFFFFF#000000##000000
##D7D34F1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#E6C6B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d34f;
/* rgb */ color: rgb(215, 211, 79);
/* oklch */ color: oklch(84.6% 0.151 107.6);
Tailwind
colors: {
  custom: {
    50: '#e6e086',
    500: '#d7d34f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d34f;
$custom-light: #e6e086;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d34f",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 58.235,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84585,
    "c": 0.15099,
    "h": 107.6
  },
  "luminance": 0.616
}

Semantic roles & 50–950 ramp

primary
#D7D34F
secondary
#393B92
accent
#47E642
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D34F

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

Preview Lab → · Contrast checker → · Palette generator →

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