#D7C366#D7C366

#D7C366 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.116 H 97.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D7C366
RGBrgb(215, 195, 102)
HSLhsl(49, 59%, 62%)
HSVhsv(49, 53%, 84%)
CMYKcmyk(0%, 9.3%, 52.6%, 15.7%)
CIE-LABlab(78.72, -4.80, 48.78)
CIE-LCHlch(78.72, 49.01, 95.62°)
OKLaboklab(81.49% -0.015 0.1152)
OKLCHoklch(81.49% 0.116 97.4)
XYZxyz(49.9394, 54.4386, 20.4450)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C366 #667AD7
analogous
#D78B66 #D7C366 #B2D766
triadic
#D7C366 #66D7C3 #C366D7
tetradic
#D7C366 #66D78B #667AD7 #D766B2
square
#D7C366 #66D78B #667AD7 #D766B2
split-complementary
#D7C366 #66B2D7 #8B66D7
monochromatic
#9A8628 #CAB035 #D7C366 #E4D697 #F0E9C7

Accessibility & contrast

On white

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

On black

11.89
#D7C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C366
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C366#FFFFFF#000000##000000
##D7C3661.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#D8C66A
Tritanopia (blue-blind)
#E6B7AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c366;
/* rgb */ color: rgb(215, 195, 102);
/* oklch */ color: oklch(81.5% 0.116 97.4);
Tailwind
colors: {
  custom: {
    50: '#e6d494',
    500: '#d7c366',
    950: '#000000',
  },
}
SCSS
$custom: #d7c366;
$custom-light: #e6d494;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c366",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 49.381,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8149,
    "c": 0.11613,
    "h": 97.4
  },
  "luminance": 0.54437
}

Semantic roles & 50–950 ramp

primary
#D7C366
secondary
#42539F
accent
#3DC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C366

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

Preview Lab → · Contrast checker → · Palette generator →

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