#D6C248#D6C248

#D6C248 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.141 H 99.9°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D6C248
RGBrgb(214, 194, 72)
HSLhsl(52, 63%, 56%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 9.3%, 66.4%, 16.1%)
CIE-LABlab(78.08, -6.81, 61.53)
CIE-LCHlch(78.08, 61.91, 96.32°)
OKLaboklab(80.87% -0.0242 0.1387)
OKLCHoklch(80.87% 0.141 99.9)
XYZxyz(48.1951, 53.3498, 13.8885)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C248 #485CD6
analogous
#D67B48 #D6C248 #A3D648
triadic
#D6C248 #48D6C2 #C248D6
tetradic
#D6C248 #48D67B #485CD6 #D648A3
square
#D6C248 #48D67B #485CD6 #D648A3
split-complementary
#D6C248 #48A3D6 #7B48D6
monochromatic
#86771E #B8A429 #D6C248 #E1D37A #ECE3AC

Accessibility & contrast

On white

1.80
#D6C248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#D6C248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C248
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C248#FFFFFF#000000##000000
##D6C2481.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#E6B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c248;
/* rgb */ color: rgb(214, 194, 72);
/* oklch */ color: oklch(80.9% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e6d481',
    500: '#d6c248',
    950: '#000000',
  },
}
SCSS
$custom: #d6c248;
$custom-light: #e6d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c248",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 51.549,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80873,
    "c": 0.14077,
    "h": 99.9
  },
  "luminance": 0.53348
}

Semantic roles & 50–950 ramp

primary
#D6C248
secondary
#36428C
accent
#59E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C248

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

Preview Lab → · Contrast checker → · Palette generator →

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