#D7C65E#D7C65E

#D7C65E is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.126 H 100.1°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D7C65E
RGBrgb(215, 198, 94)
HSLhsl(52, 60%, 61%)
HSVhsv(52, 56%, 84%)
CMYKcmyk(0%, 7.9%, 56.3%, 15.7%)
CIE-LABlab(79.41, -6.98, 53.37)
CIE-LCHlch(79.41, 53.82, 97.45°)
OKLaboklab(82.01% -0.0222 0.1243)
OKLCHoklch(82.01% 0.126 100.1)
XYZxyz(50.2406, 55.6454, 18.6817)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C65E #5E6FD7
analogous
#D7895E #D7C65E #ACD75E
triadic
#D7C65E #5ED7C6 #C65ED7
tetradic
#D7C65E #5ED789 #5E6FD7 #D75EAC
square
#D7C65E #5ED789 #5E6FD7 #D75EAC
split-complementary
#D7C65E #5EACD7 #895ED7
monochromatic
#958625 #C6B231 #D7C65E #E3D78F #EFE9C0

Accessibility & contrast

On white

1.73
#D7C65E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D7C65E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C65E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C65E#FFFFFF#000000##000000
##D7C65E1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C154
Deuteranopia (green-blind)
#DBC863
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c65e;
/* rgb */ color: rgb(215, 198, 94);
/* oklch */ color: oklch(82.0% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#e6d78f',
    500: '#d7c65e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c65e;
$custom-light: #e6d78f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c65e",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 94
  },
  "hsl": {
    "h": 51.57,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82012,
    "c": 0.12624,
    "h": 100.1
  },
  "luminance": 0.55643
}

Semantic roles & 50–950 ramp

primary
#D7C65E
secondary
#3F4C9A
accent
#36C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C65E

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

Preview Lab → · Contrast checker → · Palette generator →

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