#D7C361#D7C361

#D7C361 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.121 H 98.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D7C361
RGBrgb(215, 195, 97)
HSLhsl(50, 60%, 61%)
HSVhsv(50, 55%, 84%)
CMYKcmyk(0%, 9.3%, 54.9%, 15.7%)
CIE-LABlab(78.66, -5.21, 51.10)
CIE-LCHlch(78.66, 51.36, 95.82°)
OKLaboklab(81.43% -0.0168 0.1197)
OKLCHoklch(81.43% 0.121 98)
XYZxyz(49.6989, 54.3424, 19.1782)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C361 #6175D7
analogous
#D78861 #D7C361 #B0D761
triadic
#D7C361 #61D7C3 #C361D7
tetradic
#D7C361 #61D788 #6175D7 #D761B0
square
#D7C361 #61D788 #6175D7 #D761B0
split-complementary
#D7C361 #61B0D7 #8861D7
monochromatic
#978426 #C8AF33 #D7C361 #E3D692 #F0E8C3

Accessibility & contrast

On white

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

On black

11.87
#D7C361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C361
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C361#FFFFFF#000000##000000
##D7C3611.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c361;
/* rgb */ color: rgb(215, 195, 97);
/* oklch */ color: oklch(81.4% 0.121 98.0);
Tailwind
colors: {
  custom: {
    50: '#e6d491',
    500: '#d7c361',
    950: '#000000',
  },
}
SCSS
$custom: #d7c361;
$custom-light: #e6d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c361",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 97
  },
  "hsl": {
    "h": 49.831,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81428,
    "c": 0.12087,
    "h": 98
  },
  "luminance": 0.5434
}

Semantic roles & 50–950 ramp

primary
#D7C361
secondary
#40509C
accent
#3BC71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C361

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

Preview Lab → · Contrast checker → · Palette generator →

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