#D7D54B#D7D54B

#D7D54B is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.0% C 0.156 H 108.5°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D7D54B
RGBrgb(215, 213, 75)
HSLhsl(59, 64%, 57%)
HSVhsv(59, 65%, 84%)
CMYKcmyk(0%, 0.9%, 65.1%, 15.7%)
CIE-LABlab(83.20, -15.82, 65.65)
CIE-LCHlch(83.20, 67.53, 103.55°)
OKLaboklab(84.98% -0.0494 0.1478)
OKLCHoklch(84.98% 0.156 108.5)
XYZxyz(53.0904, 62.5452, 15.9311)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D54B #4B4DD7
analogous
#D78F4B #D7D54B #93D74B
triadic
#D7D54B #4BD7D5 #D54BD7
tetradic
#D7D54B #4BD78F #4B4DD7 #D74B93
square
#D7D54B #4BD78F #4B4DD7 #D74B93
split-complementary
#D7D54B #4B93D7 #8F4BD7
monochromatic
#89881E #BBB92A #D7D54B #E2E17D #EDECAF

Accessibility & contrast

On white

1.55
#D7D54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#D7D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D54B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D54B#FFFFFF#000000##000000
##D7D54B1.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#E8D254
Tritanopia (blue-blind)
#E6C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d54b;
/* rgb */ color: rgb(215, 213, 75);
/* oklch */ color: oklch(85.0% 0.156 108.5);
Tailwind
colors: {
  custom: {
    50: '#e7e184',
    500: '#d7d54b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d54b;
$custom-light: #e7e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d54b",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 59.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84975,
    "c": 0.15587,
    "h": 108.5
  },
  "luminance": 0.62544
}

Semantic roles & 50–950 ramp

primary
#D7D54B
secondary
#37388F
accent
#44E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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