#D7C854#D7C854

#D7C854 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.137 H 102.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D7C854
RGBrgb(215, 200, 84)
HSLhsl(53, 62%, 59%)
HSVhsv(53, 61%, 84%)
CMYKcmyk(0%, 7%, 60.9%, 15.7%)
CIE-LABlab(79.84, -8.72, 58.35)
CIE-LCHlch(79.84, 59.00, 98.50°)
OKLaboklab(82.32% -0.0283 0.1337)
OKLCHoklch(82.32% 0.137 102)
XYZxyz(50.2807, 56.3977, 16.6231)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C854 #5463D7
analogous
#D78654 #D7C854 #A4D754
triadic
#D7C854 #54D7C8 #C854D7
tetradic
#D7C854 #54D786 #5463D7 #D754A4
square
#D7C854 #54D786 #5463D7 #D754A4
split-complementary
#D7C854 #54A4D7 #8654D7
monochromatic
#8F8321 #C1B02D #D7C854 #E3D886 #EEE8B7

Accessibility & contrast

On white

1.71
#D7C854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D7C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C854
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C854#FFFFFF#000000##000000
##D7C8541.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C247
Deuteranopia (green-blind)
#DDC95A
Tritanopia (blue-blind)
#E6BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c854;
/* rgb */ color: rgb(215, 200, 84);
/* oklch */ color: oklch(82.3% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#e6d889',
    500: '#d7c854',
    950: '#000000',
  },
}
SCSS
$custom: #d7c854;
$custom-light: #e6d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c854",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 53.13,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82321,
    "c": 0.13665,
    "h": 102
  },
  "luminance": 0.56396
}

Semantic roles & 50–950 ramp

primary
#D7C854
secondary
#3B4595
accent
#55E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C854

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

Preview Lab → · Contrast checker → · Palette generator →

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