#D5C765#D5C765

#D5C765 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.121 H 101.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D5C765
RGBrgb(213, 199, 101)
HSLhsl(53, 57%, 62%)
HSVhsv(53, 53%, 84%)
CMYKcmyk(0%, 6.6%, 52.6%, 16.5%)
CIE-LABlab(79.58, -7.76, 50.23)
CIE-LCHlch(79.58, 50.83, 98.79°)
OKLaboklab(82.13% -0.0236 0.1183)
OKLCHoklch(82.13% 0.121 101.3)
XYZxyz(50.2145, 55.9344, 20.4607)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C765 #6573D5
analogous
#D58F65 #D5C765 #ABD565
triadic
#D5C765 #65D5C7 #C765D5
tetradic
#D5C765 #65D58F #6573D5 #D565AB
square
#D5C765 #65D58F #6573D5 #D565AB
split-complementary
#D5C765 #65ABD5 #8F65D5
monochromatic
#978929 #C7B536 #D5C765 #E2D895 #EFEAC5

Accessibility & contrast

On white

1.72
#D5C765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D5C765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C765
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C765#FFFFFF#000000##000000
##D5C7651.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25C
Deuteranopia (green-blind)
#DBC86A
Tritanopia (blue-blind)
#E3BBB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c765;
/* rgb */ color: rgb(213, 199, 101);
/* oklch */ color: oklch(82.1% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#e4d793',
    500: '#d5c765',
    950: '#000000',
  },
}
SCSS
$custom: #d5c765;
$custom-light: #e4d793;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c765",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 52.5,
    "s": 57.143,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82126,
    "c": 0.12059,
    "h": 101.3
  },
  "luminance": 0.55933
}

Semantic roles & 50–950 ramp

primary
#D5C765
secondary
#434E9C
accent
#35C521
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C765

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

Preview Lab → · Contrast checker → · Palette generator →

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