#D7CA64#D7CA64

#D7CA64 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.124 H 102.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D7CA64
RGBrgb(215, 202, 100)
HSLhsl(53, 59%, 62%)
HSVhsv(53, 53%, 84%)
CMYKcmyk(0%, 6%, 53.5%, 15.7%)
CIE-LABlab(80.52, -8.56, 51.85)
CIE-LCHlch(80.52, 52.56, 99.37°)
OKLaboklab(82.91% -0.0261 0.1217)
OKLCHoklch(82.91% 0.124 102.1)
XYZxyz(51.4467, 57.6100, 20.4640)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA64 #6471D7
analogous
#D79164 #D7CA64 #ABD764
triadic
#D7CA64 #64D7CA #CA64D7
tetradic
#D7CA64 #64D791 #6471D7 #D764AB
square
#D7CA64 #64D791 #6471D7 #D764AB
split-complementary
#D7CA64 #64ABD7 #9164D7
monochromatic
#998C28 #CAB934 #D7CA64 #E4DB95 #F0EBC5

Accessibility & contrast

On white

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

On black

12.52
#D7CA64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA64
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA64#FFFFFF#000000##000000
##D7CA641.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC45A
Deuteranopia (green-blind)
#DECA69
Tritanopia (blue-blind)
#E5BEB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca64;
/* rgb */ color: rgb(215, 202, 100);
/* oklch */ color: oklch(82.9% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#e6d993',
    500: '#d7ca64',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca64;
$custom-light: #e6d993;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca64",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 100
  },
  "hsl": {
    "h": 53.217,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82913,
    "c": 0.12442,
    "h": 102.1
  },
  "luminance": 0.57608
}

Semantic roles & 50–950 ramp

primary
#D7CA64
secondary
#424C9E
accent
#32C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CA64

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

Preview Lab → · Contrast checker → · Palette generator →

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