#D7CA65#D7CA65

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

Color values

HEX#D7CA65
RGBrgb(215, 202, 101)
HSLhsl(53, 59%, 62%)
HSVhsv(53, 53%, 84%)
CMYKcmyk(0%, 6%, 53%, 15.7%)
CIE-LABlab(80.53, -8.48, 51.40)
CIE-LCHlch(80.53, 52.09, 99.36°)
OKLaboklab(82.93% -0.0257 0.1208)
OKLCHoklch(82.93% 0.123 102)
XYZxyz(51.4954, 57.6295, 20.7204)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA65 #6572D7
analogous
#D79165 #D7CA65 #ABD765
triadic
#D7CA65 #65D7CA #CA65D7
tetradic
#D7CA65 #65D791 #6572D7 #D765AB
square
#D7CA65 #65D791 #6572D7 #D765AB
split-complementary
#D7CA65 #65ABD7 #9165D7
monochromatic
#9A8D28 #CAB935 #D7CA65 #E4DB96 #F0EBC6

Accessibility & contrast

On white

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

On black

12.53
#D7CA65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA65
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA65#FFFFFF#000000##000000
##D7CA651.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ca65;
/* rgb */ color: rgb(215, 202, 101);
/* oklch */ color: oklch(82.9% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#e6d994',
    500: '#d7ca65',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca65;
$custom-light: #e6d994;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca65",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 101
  },
  "hsl": {
    "h": 53.158,
    "s": 58.763,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82925,
    "c": 0.12346,
    "h": 102
  },
  "luminance": 0.57628
}

Semantic roles & 50–950 ramp

primary
#D7CA65
secondary
#424D9E
accent
#32C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CA65

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

Preview Lab → · Contrast checker → · Palette generator →

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