#D7CA56#D7CA56

#D7CA56 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.137 H 102.9°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D7CA56
RGBrgb(215, 202, 86)
HSLhsl(54, 62%, 59%)
HSVhsv(54, 60%, 84%)
CMYKcmyk(0%, 6%, 60%, 15.7%)
CIE-LABlab(80.38, -9.60, 58.07)
CIE-LCHlch(80.38, 58.86, 99.39°)
OKLaboklab(82.76% -0.0306 0.1334)
OKLCHoklch(82.76% 0.137 102.9)
XYZxyz(50.8264, 57.3619, 17.1970)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA56 #5663D7
analogous
#D78A56 #D7CA56 #A4D756
triadic
#D7CA56 #56D7CA #CA56D7
tetradic
#D7CA56 #56D78A #5663D7 #D756A4
square
#D7CA56 #56D78A #5663D7 #D756A4
split-complementary
#D7CA56 #56A4D7 #8A56D7
monochromatic
#908522 #C2B32E #D7CA56 #E3DA87 #EEE9B9

Accessibility & contrast

On white

1.68
#D7CA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D7CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA56
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA56#FFFFFF#000000##000000
##D7CA561.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#E6BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca56;
/* rgb */ color: rgb(215, 202, 86);
/* oklch */ color: oklch(82.8% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#e6d98a',
    500: '#d7ca56',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca56;
$custom-light: #e6d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca56",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 53.953,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82758,
    "c": 0.13683,
    "h": 102.9
  },
  "luminance": 0.5736
}

Semantic roles & 50–950 ramp

primary
#D7CA56
secondary
#3B4596
accent
#53E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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