#D7C461#D7C461

#D7C461 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.122 H 98.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D7C461
RGBrgb(215, 196, 97)
HSLhsl(50, 60%, 61%)
HSVhsv(50, 55%, 84%)
CMYKcmyk(0%, 8.8%, 54.9%, 15.7%)
CIE-LABlab(78.92, -5.72, 51.40)
CIE-LCHlch(78.92, 51.72, 96.35°)
OKLaboklab(81.63% -0.0183 0.1204)
OKLCHoklch(81.63% 0.122 98.6)
XYZxyz(49.9237, 54.7920, 19.2531)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C461 #6174D7
analogous
#D78961 #D7C461 #AFD761
triadic
#D7C461 #61D7C4 #C461D7
tetradic
#D7C461 #61D789 #6174D7 #D761AF
square
#D7C461 #61D789 #6174D7 #D761AF
split-complementary
#D7C461 #61AFD7 #8961D7
monochromatic
#978526 #C8B033 #D7C461 #E3D692 #F0E8C3

Accessibility & contrast

On white

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

On black

11.96
#D7C461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C461
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C461#FFFFFF#000000##000000
##D7C4611.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF58
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#E6B8AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c461;
/* rgb */ color: rgb(215, 196, 97);
/* oklch */ color: oklch(81.6% 0.122 98.6);
Tailwind
colors: {
  custom: {
    50: '#e6d591',
    500: '#d7c461',
    950: '#000000',
  },
}
SCSS
$custom: #d7c461;
$custom-light: #e6d591;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c461",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 97
  },
  "hsl": {
    "h": 50.339,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81634,
    "c": 0.12174,
    "h": 98.6
  },
  "luminance": 0.5479
}

Semantic roles & 50–950 ramp

primary
#D7C461
secondary
#404F9C
accent
#39C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C461

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

Preview Lab → · Contrast checker → · Palette generator →

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