#D7D74B#D7D74B

#D7D74B is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.158 H 109.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D7D74B
RGBrgb(215, 215, 75)
HSLhsl(60, 64%, 57%)
HSVhsv(60, 65%, 84%)
CMYKcmyk(0%, 0%, 65.1%, 15.7%)
CIE-LABlab(83.73, -16.81, 66.20)
CIE-LCHlch(83.73, 68.30, 104.25°)
OKLaboklab(85.4% -0.0522 0.149)
OKLCHoklch(85.4% 0.158 109.3)
XYZxyz(53.5965, 63.5575, 16.0998)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D74B #4B4BD7
analogous
#D7914B #D7D74B #91D74B
triadic
#D7D74B #4BD7D7 #D74BD7
tetradic
#D7D74B #4BD791 #4B4BD7 #D74B91
square
#D7D74B #4BD791 #4B4BD7 #D74B91
split-complementary
#D7D74B #4B91D7 #914BD7
monochromatic
#89891E #BBBB2A #D7D74B #E2E27D #EDEDAF

Accessibility & contrast

On white

1.53
#D7D74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#D7D74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D74B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D74B#FFFFFF#000000##000000
##D7D74B1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE37
Deuteranopia (green-blind)
#E9D354
Tritanopia (blue-blind)
#E6CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d74b;
/* rgb */ color: rgb(215, 215, 75);
/* oklch */ color: oklch(85.4% 0.158 109.3);
Tailwind
colors: {
  custom: {
    50: '#e7e385',
    500: '#d7d74b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d74b;
$custom-light: #e7e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d74b",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.854,
    "c": 0.15786,
    "h": 109.3
  },
  "luminance": 0.63556
}

Semantic roles & 50–950 ramp

primary
#D7D74B
secondary
#37378F
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D74B

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

Preview Lab → · Contrast checker → · Palette generator →

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