#D6C848#D6C848

#D6C848 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.146 H 103.0°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D6C848
RGBrgb(214, 200, 72)
HSLhsl(54, 63%, 56%)
HSVhsv(54, 66%, 84%)
CMYKcmyk(0%, 6.5%, 66.4%, 16.1%)
CIE-LABlab(79.66, -9.88, 63.16)
CIE-LCHlch(79.66, 63.93, 98.89°)
OKLaboklab(82.12% -0.0329 0.1421)
OKLCHoklch(82.12% 0.146 103)
XYZxyz(49.5575, 56.0746, 14.3427)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C848 #4856D6
analogous
#D68148 #D6C848 #9DD648
triadic
#D6C848 #48D6C8 #C848D6
tetradic
#D6C848 #48D681 #4856D6 #D6489D
square
#D6C848 #48D681 #4856D6 #D6489D
split-complementary
#D6C848 #489DD6 #8148D6
monochromatic
#867B1E #B8AA29 #D6C848 #E1D77A #ECE6AC

Accessibility & contrast

On white

1.72
#D6C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D6C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C848
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C848#FFFFFF#000000##000000
##D6C8481.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C237
Deuteranopia (green-blind)
#DEC850
Tritanopia (blue-blind)
#E6BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d6c848;
/* rgb */ color: rgb(214, 200, 72);
/* oklch */ color: oklch(82.1% 0.146 103.0);
Tailwind
colors: {
  custom: {
    50: '#e6d882',
    500: '#d6c848',
    950: '#000000',
  },
}
SCSS
$custom: #d6c848;
$custom-light: #e6d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c848",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 54.085,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82124,
    "c": 0.14589,
    "h": 103
  },
  "luminance": 0.56073
}

Semantic roles & 50–950 ramp

primary
#D6C848
secondary
#363F8C
accent
#52E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C848

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

Preview Lab → · Contrast checker → · Palette generator →

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