#D7CF48#D7CF48

#D7CF48 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.152 H 105.9°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D7CF48
RGBrgb(215, 207, 72)
HSLhsl(57, 64%, 56%)
HSVhsv(57, 67%, 84%)
CMYKcmyk(0%, 3.7%, 66.5%, 15.7%)
CIE-LABlab(81.59, -12.99, 65.17)
CIE-LCHlch(81.59, 66.45, 101.28°)
OKLaboklab(83.68% -0.0418 0.1463)
OKLCHoklch(83.68% 0.152 105.9)
XYZxyz(51.5088, 59.5424, 14.9092)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF48 #4850D7
analogous
#D78848 #D7CF48 #98D748
triadic
#D7CF48 #48D7CF #CF48D7
tetradic
#D7CF48 #48D788 #4850D7 #D74898
square
#D7CF48 #48D788 #4850D7 #D74898
split-complementary
#D7CF48 #4898D7 #8848D7
monochromatic
#87811E #B9B129 #D7CF48 #E2DC7A #EDE9AC

Accessibility & contrast

On white

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

On black

12.91
#D7CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF48
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF48#FFFFFF#000000##000000
##D7CF481.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C835
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#E6C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf48;
/* rgb */ color: rgb(215, 207, 72);
/* oklch */ color: oklch(83.7% 0.152 105.9);
Tailwind
colors: {
  custom: {
    50: '#e7dd82',
    500: '#d7cf48',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf48;
$custom-light: #e7dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf48",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 56.643,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83682,
    "c": 0.15219,
    "h": 105.9
  },
  "luminance": 0.59541
}

Semantic roles & 50–950 ramp

primary
#D7CF48
secondary
#363B8D
accent
#4AE741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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