#D7C357#D7C357

#D7C357 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.130 H 98.9°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#D7C357
RGBrgb(215, 195, 87)
HSLhsl(51, 62%, 59%)
HSVhsv(51, 60%, 84%)
CMYKcmyk(0%, 9.3%, 59.5%, 15.7%)
CIE-LABlab(78.56, -5.95, 55.60)
CIE-LCHlch(78.56, 55.92, 96.11°)
OKLaboklab(81.31% -0.0201 0.1282)
OKLCHoklch(81.31% 0.13 98.9)
XYZxyz(49.2617, 54.1675, 16.8755)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C357 #576BD7
analogous
#D78357 #D7C357 #ABD757
triadic
#D7C357 #57D7C3 #C357D7
tetradic
#D7C357 #57D783 #576BD7 #D757AB
square
#D7C357 #57D783 #576BD7 #D757AB
split-complementary
#D7C357 #57ABD7 #8357D7
monochromatic
#918023 #C2AB2E #D7C357 #E3D588 #EFE6BA

Accessibility & contrast

On white

1.77
#D7C357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#D7C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C357
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C357#FFFFFF#000000##000000
##D7C3571.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E6B6AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c357;
/* rgb */ color: rgb(215, 195, 87);
/* oklch */ color: oklch(81.3% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#e6d48a',
    500: '#d7c357',
    950: '#000000',
  },
}
SCSS
$custom: #d7c357;
$custom-light: #e6d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c357",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 50.625,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81314,
    "c": 0.12979,
    "h": 98.9
  },
  "luminance": 0.54165
}

Semantic roles & 50–950 ramp

primary
#D7C357
secondary
#3C4A96
accent
#5CE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C357

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

Preview Lab → · Contrast checker → · Palette generator →

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