#D9C263#D9C263

#D9C263 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.118 H 96.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D9C263
RGBrgb(217, 194, 99)
HSLhsl(48, 61%, 62%)
HSVhsv(48, 54%, 85%)
CMYKcmyk(0%, 10.6%, 54.4%, 14.9%)
CIE-LABlab(78.60, -3.70, 50.12)
CIE-LCHlch(78.60, 50.26, 94.22°)
OKLaboklab(81.43% -0.0123 0.1178)
OKLCHoklch(81.43% 0.118 96)
XYZxyz(50.1610, 54.2383, 19.6288)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C263 #637AD9
analogous
#D98763 #D9C263 #B5D963
triadic
#D9C263 #63D9C2 #C263D9
tetradic
#D9C263 #63D987 #637AD9 #D963B5
square
#D9C263 #63D987 #637AD9 #D963B5
split-complementary
#D9C263 #63B5D9 #8763D9
monochromatic
#9C8526 #CDAF32 #D9C263 #E5D594 #F1E8C5

Accessibility & contrast

On white

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

On black

11.85
#D9C263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C263
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C263#FFFFFF#000000##000000
##D9C2631.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE5A
Deuteranopia (green-blind)
#D9C667
Tritanopia (blue-blind)
#E8B6AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c263;
/* rgb */ color: rgb(217, 194, 99);
/* oklch */ color: oklch(81.4% 0.118 96.0);
Tailwind
colors: {
  custom: {
    50: '#e7d492',
    500: '#d9c263',
    950: '#000000',
  },
}
SCSS
$custom: #d9c263;
$custom-light: #e7d492;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c263",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 99
  },
  "hsl": {
    "h": 48.305,
    "s": 60.825,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81429,
    "c": 0.11839,
    "h": 96
  },
  "luminance": 0.54236
}

Semantic roles & 50–950 ramp

primary
#D9C263
secondary
#4053A0
accent
#3EC91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C263

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

Preview Lab → · Contrast checker → · Palette generator →

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