#D7C653#D7C653

#D7C653 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.136 H 100.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D7C653
RGBrgb(215, 198, 83)
HSLhsl(52, 62%, 58%)
HSVhsv(52, 61%, 84%)
CMYKcmyk(0%, 7.9%, 61.4%, 15.7%)
CIE-LABlab(79.31, -7.76, 58.20)
CIE-LCHlch(79.31, 58.72, 97.60°)
OKLaboklab(81.9% -0.0257 0.1332)
OKLCHoklch(81.9% 0.136 100.9)
XYZxyz(49.7817, 55.4618, 16.2649)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C653 #5364D7
analogous
#D78453 #D7C653 #A6D753
triadic
#D7C653 #53D7C6 #C653D7
tetradic
#D7C653 #53D784 #5364D7 #D753A6
square
#D7C653 #53D784 #5364D7 #D753A6
split-complementary
#D7C653 #53A6D7 #8453D7
monochromatic
#8E8021 #C0AD2D #D7C653 #E3D685 #EEE7B6

Accessibility & contrast

On white

1.74
#D7C653 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D7C653 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C653
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C653#FFFFFF#000000##000000
##D7C6531.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C146
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#E6B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c653;
/* rgb */ color: rgb(215, 198, 83);
/* oklch */ color: oklch(81.9% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#e6d788',
    500: '#d7c653',
    950: '#000000',
  },
}
SCSS
$custom: #d7c653;
$custom-light: #e6d788;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c653",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 83
  },
  "hsl": {
    "h": 52.273,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81895,
    "c": 0.1357,
    "h": 100.9
  },
  "luminance": 0.5546
}

Semantic roles & 50–950 ramp

primary
#D7C653
secondary
#3A4694
accent
#57E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C653

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

Preview Lab → · Contrast checker → · Palette generator →

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