#D7D34C#D7D34C

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

Color values

HEX#D7D34C
RGBrgb(215, 211, 76)
HSLhsl(58, 63%, 57%)
HSVhsv(58, 65%, 84%)
CMYKcmyk(0%, 1.9%, 64.7%, 15.7%)
CIE-LABlab(82.68, -14.77, 64.71)
CIE-LCHlch(82.68, 66.38, 102.85°)
OKLaboklab(84.56% -0.0464 0.146)
OKLCHoklch(84.56% 0.153 107.6)
XYZxyz(52.6249, 61.5591, 15.9461)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D34C #4C50D7
analogous
#D78D4C #D7D34C #96D74C
triadic
#D7D34C #4CD7D3 #D34CD7
tetradic
#D7D34C #4CD78D #4C50D7 #D74C96
square
#D7D34C #4CD78D #4C50D7 #D74C96
split-complementary
#D7D34C #4C96D7 #8D4CD7
monochromatic
#8A871F #BCB82A #D7D34C #E2DF7E #EDECB0

Accessibility & contrast

On white

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

On black

13.31
#D7D34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D34C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D34C#FFFFFF#000000##000000
##D7D34C1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d34c;
/* rgb */ color: rgb(215, 211, 76);
/* oklch */ color: oklch(84.6% 0.153 107.6);
Tailwind
colors: {
  custom: {
    50: '#e7e085',
    500: '#d7d34c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d34c;
$custom-light: #e7e085;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d34c",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 76
  },
  "hsl": {
    "h": 58.273,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84559,
    "c": 0.15319,
    "h": 107.6
  },
  "luminance": 0.61557
}

Semantic roles & 50–950 ramp

primary
#D7D34C
secondary
#373A90
accent
#46E641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D34C

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

Preview Lab → · Contrast checker → · Palette generator →

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