#D5C768#D5C768

#D5C768 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.118 H 101.0°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D5C768
RGBrgb(213, 199, 104)
HSLhsl(52, 56%, 62%)
HSVhsv(52, 51%, 84%)
CMYKcmyk(0%, 6.6%, 51.2%, 16.5%)
CIE-LABlab(79.61, -7.51, 48.84)
CIE-LCHlch(79.61, 49.41, 98.74°)
OKLaboklab(82.16% -0.0225 0.1155)
OKLCHoklch(82.16% 0.118 101)
XYZxyz(50.3642, 55.9942, 21.2490)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C768 #6876D5
analogous
#D59168 #D5C768 #ACD568
triadic
#D5C768 #68D5C7 #C768D5
tetradic
#D5C768 #68D591 #6876D5 #D568AC
square
#D5C768 #68D591 #6876D5 #D568AC
split-complementary
#D5C768 #68ACD5 #9168D5
monochromatic
#988A2A #C8B538 #D5C768 #E2D998 #F0EBC8

Accessibility & contrast

On white

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

On black

12.20
#D5C768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C768
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C768#FFFFFF#000000##000000
##D5C7681.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c768;
/* rgb */ color: rgb(213, 199, 104);
/* oklch */ color: oklch(82.2% 0.118 101.0);
Tailwind
colors: {
  custom: {
    50: '#e4d795',
    500: '#d5c768',
    950: '#000000',
  },
}
SCSS
$custom: #d5c768;
$custom-light: #e4d795;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c768",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 104
  },
  "hsl": {
    "h": 52.294,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82164,
    "c": 0.11768,
    "h": 101
  },
  "luminance": 0.55992
}

Semantic roles & 50–950 ramp

primary
#D5C768
secondary
#44509D
accent
#36C421
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C768

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

Preview Lab → · Contrast checker → · Palette generator →

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