#D6CF48#D6CF48

#D6CF48 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.152 H 106.4°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D6CF48
RGBrgb(214, 207, 72)
HSLhsl(57, 63%, 56%)
HSVhsv(57, 66%, 84%)
CMYKcmyk(0%, 3.3%, 66.4%, 16.1%)
CIE-LABlab(81.51, -13.41, 65.06)
CIE-LCHlch(81.51, 66.43, 101.65°)
OKLaboklab(83.6% -0.0429 0.1461)
OKLCHoklch(83.6% 0.152 106.4)
XYZxyz(51.2160, 59.3914, 14.8955)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CF48 #484FD6
analogous
#D68848 #D6CF48 #96D648
triadic
#D6CF48 #48D6CF #CF48D6
tetradic
#D6CF48 #48D688 #484FD6 #D64896
square
#D6CF48 #48D688 #484FD6 #D64896
split-complementary
#D6CF48 #4896D6 #8848D6
monochromatic
#86811E #B8B129 #D6CF48 #E1DC7A #ECE9AC

Accessibility & contrast

On white

1.63
#D6CF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#D6CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CF48
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CF48#FFFFFF#000000##000000
##D6CF481.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C735
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#E5C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d6cf48;
/* rgb */ color: rgb(214, 207, 72);
/* oklch */ color: oklch(83.6% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#e6dd82',
    500: '#d6cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d6cf48;
$custom-light: #e6dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cf48",
  "rgb": {
    "r": 214,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 57.042,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83596,
    "c": 0.1523,
    "h": 106.4
  },
  "luminance": 0.5939
}

Semantic roles & 50–950 ramp

primary
#D6CF48
secondary
#363A8C
accent
#4AE641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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