#D7C154#D7C154

#D7C154 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.131 H 97.9°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D7C154
RGBrgb(215, 193, 84)
HSLhsl(50, 62%, 59%)
HSVhsv(50, 61%, 84%)
CMYKcmyk(0%, 10.2%, 60.9%, 15.7%)
CIE-LABlab(78.01, -5.13, 56.34)
CIE-LCHlch(78.01, 56.57, 95.20°)
OKLaboklab(80.87% -0.0181 0.1294)
OKLCHoklch(80.87% 0.131 97.9)
XYZxyz(48.6965, 53.2293, 16.0950)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C154 #546AD7
analogous
#D77F54 #D7C154 #ABD754
triadic
#D7C154 #54D7C1 #C154D7
tetradic
#D7C154 #54D77F #546AD7 #D754AB
square
#D7C154 #54D77F #546AD7 #D754AB
split-complementary
#D7C154 #54ABD7 #7F54D7
monochromatic
#8F7D21 #C1A82D #D7C154 #E3D386 #EEE5B7

Accessibility & contrast

On white

1.80
#D7C154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D7C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C154
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C154#FFFFFF#000000##000000
##D7C1541.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD48
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#E7B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c154;
/* rgb */ color: rgb(215, 193, 84);
/* oklch */ color: oklch(80.9% 0.131 97.9);
Tailwind
colors: {
  custom: {
    50: '#e6d388',
    500: '#d7c154',
    950: '#000000',
  },
}
SCSS
$custom: #d7c154;
$custom-light: #e6d388;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c154",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 49.924,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8087,
    "c": 0.13065,
    "h": 97.9
  },
  "luminance": 0.53227
}

Semantic roles & 50–950 ramp

primary
#D7C154
secondary
#3B4A95
accent
#5EE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C154

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

Preview Lab → · Contrast checker → · Palette generator →

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