#D7CA4D#D7CA4D

#D7CA4D is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.144 H 103.4°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D7CA4D
RGBrgb(215, 202, 77)
HSLhsl(54, 63%, 57%)
HSVhsv(54, 64%, 84%)
CMYKcmyk(0%, 6%, 64.2%, 15.7%)
CIE-LABlab(80.31, -10.18, 61.83)
CIE-LCHlch(80.31, 62.66, 99.35°)
OKLaboklab(82.67% -0.0333 0.1401)
OKLCHoklch(82.67% 0.144 103.4)
XYZxyz(50.4864, 57.2259, 15.4061)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA4D #4D5AD7
analogous
#D7854D #D7CA4D #9FD74D
triadic
#D7CA4D #4DD7CA #CA4DD7
tetradic
#D7CA4D #4DD785 #4D5AD7 #D74D9F
square
#D7CA4D #4DD785 #4D5AD7 #D74D9F
split-complementary
#D7CA4D #4D9FD7 #854DD7
monochromatic
#8A801F #BCAF2A #D7CA4D #E2D97F #EDE8B1

Accessibility & contrast

On white

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

On black

12.44
#D7CA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA4D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA4D#FFFFFF#000000##000000
##D7CA4D1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43D
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#E6BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca4d;
/* rgb */ color: rgb(215, 202, 77);
/* oklch */ color: oklch(82.7% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e7d985',
    500: '#d7ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca4d;
$custom-light: #e7d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca4d",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 54.348,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82673,
    "c": 0.14396,
    "h": 103.4
  },
  "luminance": 0.57224
}

Semantic roles & 50–950 ramp

primary
#D7CA4D
secondary
#384090
accent
#51E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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