#D7CA47#D7CA47

#D7CA47 is a very light, vivid yellow. Relative luminance 0.571; 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#D7CA47
RGBrgb(215, 202, 71)
HSLhsl(55, 64%, 56%)
HSVhsv(55, 67%, 84%)
CMYKcmyk(0%, 6%, 67%, 15.7%)
CIE-LABlab(80.26, -10.53, 64.21)
CIE-LCHlch(80.26, 65.07, 99.31°)
OKLaboklab(82.62% -0.0349 0.1441)
OKLCHoklch(82.62% 0.148 103.6)
XYZxyz(50.2842, 57.1450, 14.3414)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA47 #4754D7
analogous
#D78247 #D7CA47 #9CD747
triadic
#D7CA47 #47D7CA #CA47D7
tetradic
#D7CA47 #47D782 #4754D7 #D7479C
square
#D7CA47 #47D782 #4754D7 #D7479C
split-complementary
#D7CA47 #479CD7 #8247D7
monochromatic
#867D1D #B9AC28 #D7CA47 #E2D879 #EDE7AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CA47#FFFFFF#000000##000000
##D7CA471.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)
#DCC335
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#E7BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca47;
/* rgb */ color: rgb(215, 202, 71);
/* oklch */ color: oklch(82.6% 0.148 103.6);
Tailwind
colors: {
  custom: {
    50: '#e7d981',
    500: '#d7ca47',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca47;
$custom-light: #e7d981;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca47",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 54.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82623,
    "c": 0.14831,
    "h": 103.6
  },
  "luminance": 0.57143
}

Semantic roles & 50–950 ramp

primary
#D7CA47
secondary
#353D8D
accent
#50E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CA47

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

Preview Lab → · Contrast checker → · Palette generator →

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