#D7C455#D7C455

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

Color values

HEX#D7C455
RGBrgb(215, 196, 85)
HSLhsl(51, 62%, 59%)
HSVhsv(51, 60%, 84%)
CMYKcmyk(0%, 8.8%, 60.5%, 15.7%)
CIE-LABlab(78.80, -6.61, 56.77)
CIE-LCHlch(78.80, 57.15, 96.64°)
OKLaboklab(81.5% -0.0222 0.1305)
OKLCHoklch(81.5% 0.132 99.6)
XYZxyz(49.4059, 54.5849, 16.5261)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C455 #5568D7
analogous
#D78355 #D7C455 #A9D755
triadic
#D7C455 #55D7C4 #C455D7
tetradic
#D7C455 #55D783 #5568D7 #D755A9
square
#D7C455 #55D783 #5568D7 #D755A9
split-complementary
#D7C455 #55A9D7 #8355D7
monochromatic
#908022 #C1AC2D #D7C455 #E3D587 #EEE6B8

Accessibility & contrast

On white

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

On black

11.92
#D7C455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C455
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C455#FFFFFF#000000##000000
##D7C4551.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c455;
/* rgb */ color: rgb(215, 196, 85);
/* oklch */ color: oklch(81.5% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#e6d589',
    500: '#d7c455',
    950: '#000000',
  },
}
SCSS
$custom: #d7c455;
$custom-light: #e6d589;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c455",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 51.231,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.815,
    "c": 0.13232,
    "h": 99.6
  },
  "luminance": 0.54583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C455

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

Preview Lab → · Contrast checker → · Palette generator →

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