#D7C355#D7C355

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

Color values

HEX#D7C355
RGBrgb(215, 195, 85)
HSLhsl(51, 62%, 59%)
HSVhsv(51, 60%, 84%)
CMYKcmyk(0%, 9.3%, 60.5%, 15.7%)
CIE-LABlab(78.54, -6.09, 56.48)
CIE-LCHlch(78.54, 56.81, 96.16°)
OKLaboklab(81.29% -0.0207 0.1298)
OKLCHoklch(81.29% 0.131 99.1)
XYZxyz(49.1811, 54.1353, 16.4511)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C355 #5569D7
analogous
#D78255 #D7C355 #AAD755
triadic
#D7C355 #55D7C3 #C355D7
tetradic
#D7C355 #55D782 #5569D7 #D755AA
square
#D7C355 #55D782 #5569D7 #D755AA
split-complementary
#D7C355 #55AAD7 #8255D7
monochromatic
#907F22 #C1AB2D #D7C355 #E3D487 #EEE6B8

Accessibility & contrast

On white

1.78
#D7C355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C355#FFFFFF#000000##000000
##D7C3551.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c355;
/* rgb */ color: rgb(215, 195, 85);
/* oklch */ color: oklch(81.3% 0.131 99.1);
Tailwind
colors: {
  custom: {
    50: '#e6d489',
    500: '#d7c355',
    950: '#000000',
  },
}
SCSS
$custom: #d7c355;
$custom-light: #e6d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c355",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 85
  },
  "hsl": {
    "h": 50.769,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81294,
    "c": 0.13148,
    "h": 99.1
  },
  "luminance": 0.54133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C355

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

Preview Lab → · Contrast checker → · Palette generator →

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