#D9C261#D9C261

#D9C261 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.120 H 96.2°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D9C261
RGBrgb(217, 194, 97)
HSLhsl(49, 61%, 62%)
HSVhsv(49, 55%, 85%)
CMYKcmyk(0%, 10.6%, 55.3%, 14.9%)
CIE-LABlab(78.58, -3.86, 51.05)
CIE-LCHlch(78.58, 51.19, 94.32°)
OKLaboklab(81.41% -0.013 0.1196)
OKLCHoklch(81.41% 0.12 96.2)
XYZxyz(50.0666, 54.2005, 19.1315)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C261 #6178D9
analogous
#D98661 #D9C261 #B4D961
triadic
#D9C261 #61D9C2 #C261D9
tetradic
#D9C261 #61D986 #6178D9 #D961B4
square
#D9C261 #61D986 #6178D9 #D961B4
split-complementary
#D9C261 #61B4D9 #8661D9
monochromatic
#9A8425 #CCAE31 #D9C261 #E5D592 #F1E8C4

Accessibility & contrast

On white

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

On black

11.84
#D9C261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C261
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C261#FFFFFF#000000##000000
##D9C2611.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c261;
/* rgb */ color: rgb(217, 194, 97);
/* oklch */ color: oklch(81.4% 0.120 96.2);
Tailwind
colors: {
  custom: {
    50: '#e7d491',
    500: '#d9c261',
    950: '#000000',
  },
}
SCSS
$custom: #d9c261;
$custom-light: #e7d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c261",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 48.5,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81405,
    "c": 0.12026,
    "h": 96.2
  },
  "luminance": 0.54198
}

Semantic roles & 50–950 ramp

primary
#D9C261
secondary
#3F529F
accent
#3EC91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C261

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

Preview Lab → · Contrast checker → · Palette generator →

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