#D9C348#D9C348

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

Color values

HEX#D9C348
RGBrgb(217, 195, 72)
HSLhsl(51, 66%, 57%)
HSVhsv(51, 67%, 85%)
CMYKcmyk(0%, 10.1%, 66.8%, 14.9%)
CIE-LABlab(78.61, -6.05, 62.16)
CIE-LCHlch(78.61, 62.46, 95.56°)
OKLaboklab(81.35% -0.0222 0.1399)
OKLCHoklch(81.35% 0.142 99)
XYZxyz(49.3023, 54.2521, 14.0044)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C348 #485ED9
analogous
#D97B48 #D9C348 #A6D948
triadic
#D9C348 #48D9C3 #C348D9
tetradic
#D9C348 #48D97B #485ED9 #D948A6
square
#D9C348 #48D97B #485ED9 #D948A6
split-complementary
#D9C348 #48A6D9 #7B48D9
monochromatic
#8A791D #BDA627 #D9C348 #E4D47B #EEE4AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C348#FFFFFF#000000##000000
##D9C3481.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)
#D5BE38
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#E9B5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c348;
/* rgb */ color: rgb(217, 195, 72);
/* oklch */ color: oklch(81.4% 0.142 99.0);
Tailwind
colors: {
  custom: {
    50: '#e8d481',
    500: '#d9c348',
    950: '#000000',
  },
}
SCSS
$custom: #d9c348;
$custom-light: #e8d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c348",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 50.897,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.14167,
    "h": 99
  },
  "luminance": 0.5425
}

Semantic roles & 50–950 ramp

primary
#D9C348
secondary
#354390
accent
#59E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C348

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

Preview Lab → · Contrast checker → · Palette generator →

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