#D7C362#D7C362

#D7C362 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.120 H 97.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D7C362
RGBrgb(215, 195, 98)
HSLhsl(50, 59%, 61%)
HSVhsv(50, 54%, 84%)
CMYKcmyk(0%, 9.3%, 54.4%, 15.7%)
CIE-LABlab(78.67, -5.13, 50.64)
CIE-LCHlch(78.67, 50.90, 95.78°)
OKLaboklab(81.44% -0.0164 0.1188)
OKLCHoklch(81.44% 0.12 97.9)
XYZxyz(49.7458, 54.3612, 19.4253)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C362 #6276D7
analogous
#D78962 #D7C362 #B1D762
triadic
#D7C362 #62D7C3 #C362D7
tetradic
#D7C362 #62D789 #6276D7 #D762B1
square
#D7C362 #62D789 #6276D7 #D762B1
split-complementary
#D7C362 #62B1D7 #8962D7
monochromatic
#988527 #C9AF33 #D7C362 #E3D693 #F0E8C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C362#FFFFFF#000000##000000
##D7C3621.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)
#D3BF59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#E6B7AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c362;
/* rgb */ color: rgb(215, 195, 98);
/* oklch */ color: oklch(81.4% 0.120 97.9);
Tailwind
colors: {
  custom: {
    50: '#e6d491',
    500: '#d7c362',
    950: '#000000',
  },
}
SCSS
$custom: #d7c362;
$custom-light: #e6d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c362",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 49.744,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8144,
    "c": 0.11993,
    "h": 97.9
  },
  "luminance": 0.54359
}

Semantic roles & 50–950 ramp

primary
#D7C362
secondary
#41509D
accent
#3BC71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C362

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

Preview Lab → · Contrast checker → · Palette generator →

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