#D7C263#D7C263

#D7C263 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.118 H 97.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D7C263
RGBrgb(215, 194, 99)
HSLhsl(49, 59%, 62%)
HSVhsv(49, 54%, 84%)
CMYKcmyk(0%, 9.8%, 54%, 15.7%)
CIE-LABlab(78.42, -4.53, 49.87)
CIE-LCHlch(78.42, 50.08, 95.19°)
OKLaboklab(81.25% -0.0146 0.1172)
OKLCHoklch(81.25% 0.118 97.1)
XYZxyz(49.5700, 53.9336, 19.6011)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C263 #6378D7
analogous
#D78863 #D7C263 #B2D763
triadic
#D7C263 #63D7C2 #C263D7
tetradic
#D7C263 #63D788 #6378D7 #D763B2
square
#D7C263 #63D788 #6378D7 #D763B2
split-complementary
#D7C263 #63B2D7 #8863D7
monochromatic
#988427 #C9AE34 #D7C263 #E3D594 #F0E8C4

Accessibility & contrast

On white

1.78
#D7C263 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D7C263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C263
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C263#FFFFFF#000000##000000
##D7C2631.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5A
Deuteranopia (green-blind)
#D8C567
Tritanopia (blue-blind)
#E6B6AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c263;
/* rgb */ color: rgb(215, 194, 99);
/* oklch */ color: oklch(81.2% 0.118 97.1);
Tailwind
colors: {
  custom: {
    50: '#e6d492',
    500: '#d7c263',
    950: '#000000',
  },
}
SCSS
$custom: #d7c263;
$custom-light: #e6d492;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c263",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 99
  },
  "hsl": {
    "h": 49.138,
    "s": 59.184,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81246,
    "c": 0.11815,
    "h": 97.1
  },
  "luminance": 0.53931
}

Semantic roles & 50–950 ramp

primary
#D7C263
secondary
#41529D
accent
#3DC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C263

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

Preview Lab → · Contrast checker → · Palette generator →

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