#D7C454#D7C454

#D7C454 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.133 H 99.7°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D7C454
RGBrgb(215, 196, 84)
HSLhsl(51, 62%, 59%)
HSVhsv(51, 61%, 84%)
CMYKcmyk(0%, 8.8%, 60.9%, 15.7%)
CIE-LABlab(78.79, -6.67, 57.20)
CIE-LCHlch(78.79, 57.59, 96.65°)
OKLaboklab(81.49% -0.0225 0.1312)
OKLCHoklch(81.49% 0.133 99.7)
XYZxyz(49.3665, 54.5691, 16.3183)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C454 #5467D7
analogous
#D78254 #D7C454 #A8D754
triadic
#D7C454 #54D7C4 #C454D7
tetradic
#D7C454 #54D782 #5467D7 #D754A8
square
#D7C454 #54D782 #5467D7 #D754A8
split-complementary
#D7C454 #54A8D7 #8254D7
monochromatic
#8F7F21 #C1AB2D #D7C454 #E3D586 #EEE6B7

Accessibility & contrast

On white

1.76
#D7C454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#D7C454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C454
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C454#FFFFFF#000000##000000
##D7C4541.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF48
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#E6B7AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c454;
/* rgb */ color: rgb(215, 196, 84);
/* oklch */ color: oklch(81.5% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#e6d588',
    500: '#d7c454',
    950: '#000000',
  },
}
SCSS
$custom: #d7c454;
$custom-light: #e6d588;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c454",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 84
  },
  "hsl": {
    "h": 51.298,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8149,
    "c": 0.13315,
    "h": 99.7
  },
  "luminance": 0.54567
}

Semantic roles & 50–950 ramp

primary
#D7C454
secondary
#3B4895
accent
#5AE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C454

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

Preview Lab → · Contrast checker → · Palette generator →

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