#D7CA48#D7CA48

#D7CA48 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.148 H 103.6°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D7CA48
RGBrgb(215, 202, 72)
HSLhsl(55, 64%, 56%)
HSVhsv(55, 67%, 84%)
CMYKcmyk(0%, 6%, 66.5%, 15.7%)
CIE-LABlab(80.27, -10.47, 63.82)
CIE-LCHlch(80.27, 64.67, 99.32°)
OKLaboklab(82.63% -0.0346 0.1435)
OKLCHoklch(82.63% 0.148 103.6)
XYZxyz(50.3166, 57.1580, 14.5118)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA48 #4855D7
analogous
#D78348 #D7CA48 #9DD748
triadic
#D7CA48 #48D7CA #CA48D7
tetradic
#D7CA48 #48D783 #4855D7 #D7489D
square
#D7CA48 #48D783 #4855D7 #D7489D
split-complementary
#D7CA48 #489DD7 #8348D7
monochromatic
#877D1E #B9AC29 #D7CA48 #E2D97A #EDE7AC

Accessibility & contrast

On white

1.69
#D7CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D7CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA48
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA48#FFFFFF#000000##000000
##D7CA481.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#E0CA50
Tritanopia (blue-blind)
#E7BDAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca48;
/* rgb */ color: rgb(215, 202, 72);
/* oklch */ color: oklch(82.6% 0.148 103.6);
Tailwind
colors: {
  custom: {
    50: '#e7d982',
    500: '#d7ca48',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca48;
$custom-light: #e7d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca48",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 54.545,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82631,
    "c": 0.1476,
    "h": 103.6
  },
  "luminance": 0.57156
}

Semantic roles & 50–950 ramp

primary
#D7CA48
secondary
#363E8D
accent
#50E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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