#D7C754#D7C754

#D7C754 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.136 H 101.4°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D7C754
RGBrgb(215, 199, 84)
HSLhsl(53, 62%, 59%)
HSVhsv(53, 61%, 84%)
CMYKcmyk(0%, 7.4%, 60.9%, 15.7%)
CIE-LABlab(79.58, -8.21, 58.06)
CIE-LCHlch(79.58, 58.64, 98.05°)
OKLaboklab(82.11% -0.0269 0.1331)
OKLCHoklch(82.11% 0.136 101.4)
XYZxyz(50.0499, 55.9360, 16.5461)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C754 #5464D7
analogous
#D78554 #D7C754 #A5D754
triadic
#D7C754 #54D7C7 #C754D7
tetradic
#D7C754 #54D785 #5464D7 #D754A5
square
#D7C754 #54D785 #5464D7 #D754A5
split-complementary
#D7C754 #54A5D7 #8554D7
monochromatic
#8F8221 #C1AF2D #D7C754 #E3D786 #EEE7B7

Accessibility & contrast

On white

1.72
#D7C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D7C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C754
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C754#FFFFFF#000000##000000
##D7C7541.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C147
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#E6BAAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c754;
/* rgb */ color: rgb(215, 199, 84);
/* oklch */ color: oklch(82.1% 0.136 101.4);
Tailwind
colors: {
  custom: {
    50: '#e6d789',
    500: '#d7c754',
    950: '#000000',
  },
}
SCSS
$custom: #d7c754;
$custom-light: #e6d789;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c754",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 52.672,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82113,
    "c": 0.13576,
    "h": 101.4
  },
  "luminance": 0.55934
}

Semantic roles & 50–950 ramp

primary
#D7C754
secondary
#3B4695
accent
#56E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C754

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

Preview Lab → · Contrast checker → · Palette generator →

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