#D7C364#D7C364

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

Color values

HEX#D7C364
RGBrgb(215, 195, 100)
HSLhsl(50, 59%, 62%)
HSVhsv(50, 53%, 84%)
CMYKcmyk(0%, 9.3%, 53.5%, 15.7%)
CIE-LABlab(78.69, -4.96, 49.71)
CIE-LCHlch(78.69, 49.96, 95.70°)
OKLaboklab(81.47% -0.0157 0.117)
OKLCHoklch(81.47% 0.118 97.7)
XYZxyz(49.8414, 54.3994, 19.9289)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C364 #6478D7
analogous
#D78A64 #D7C364 #B2D764
triadic
#D7C364 #64D7C3 #C364D7
tetradic
#D7C364 #64D78A #6478D7 #D764B2
square
#D7C364 #64D78A #6478D7 #D764B2
split-complementary
#D7C364 #64B2D7 #8A64D7
monochromatic
#998528 #CAB034 #D7C364 #E4D695 #F0E9C5

Accessibility & contrast

On white

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

On black

11.88
#D7C364 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C364
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C364#FFFFFF#000000##000000
##D7C3641.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c364;
/* rgb */ color: rgb(215, 195, 100);
/* oklch */ color: oklch(81.5% 0.118 97.7);
Tailwind
colors: {
  custom: {
    50: '#e6d493',
    500: '#d7c364',
    950: '#000000',
  },
}
SCSS
$custom: #d7c364;
$custom-light: #e6d493;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c364",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 100
  },
  "hsl": {
    "h": 49.565,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81465,
    "c": 0.11805,
    "h": 97.7
  },
  "luminance": 0.54397
}

Semantic roles & 50–950 ramp

primary
#D7C364
secondary
#42529E
accent
#3CC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C364

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

Preview Lab → · Contrast checker → · Palette generator →

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