#D7C65B#D7C65B

#D7C65B is a light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.129 H 100.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D7C65B
RGBrgb(215, 198, 91)
HSLhsl(52, 61%, 60%)
HSVhsv(52, 58%, 84%)
CMYKcmyk(0%, 7.9%, 57.7%, 15.7%)
CIE-LABlab(79.38, -7.21, 54.71)
CIE-LCHlch(79.38, 55.18, 97.50°)
OKLaboklab(81.98% -0.0232 0.1268)
OKLCHoklch(81.98% 0.129 100.4)
XYZxyz(50.1086, 55.5926, 17.9865)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C65B #5B6CD7
analogous
#D7885B #D7C65B #AAD75B
triadic
#D7C65B #5BD7C6 #C65BD7
tetradic
#D7C65B #5BD788 #5B6CD7 #D75BAA
square
#D7C65B #5BD788 #5B6CD7 #D75BAA
split-complementary
#D7C65B #5BAAD7 #885BD7
monochromatic
#948424 #C5B030 #D7C65B #E3D78C #EFE8BD

Accessibility & contrast

On white

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

On black

12.12
#D7C65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C65B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C65B#FFFFFF#000000##000000
##D7C65B1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#DBC860
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c65b;
/* rgb */ color: rgb(215, 198, 91);
/* oklch */ color: oklch(82.0% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#e6d78d',
    500: '#d7c65b',
    950: '#000000',
  },
}
SCSS
$custom: #d7c65b;
$custom-light: #e6d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c65b",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 51.774,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.81979,
    "c": 0.12892,
    "h": 100.4
  },
  "luminance": 0.55591
}

Semantic roles & 50–950 ramp

primary
#D7C65B
secondary
#3E4A99
accent
#5AE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7C65B

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

Preview Lab → · Contrast checker → · Palette generator →

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