#D7C953#D7C953

#D7C953 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.138 H 102.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D7C953
RGBrgb(215, 201, 83)
HSLhsl(54, 62%, 58%)
HSVhsv(54, 61%, 84%)
CMYKcmyk(0%, 6.5%, 61.4%, 15.7%)
CIE-LABlab(80.09, -9.30, 59.06)
CIE-LCHlch(80.09, 59.79, 98.95°)
OKLaboklab(82.52% -0.0301 0.1351)
OKLCHoklch(82.52% 0.138 102.6)
XYZxyz(50.4742, 56.8468, 16.4957)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C953 #5361D7
analogous
#D78753 #D7C953 #A3D753
triadic
#D7C953 #53D7C9 #C953D7
tetradic
#D7C953 #53D787 #5361D7 #D753A3
square
#D7C953 #53D787 #5361D7 #D753A3
split-complementary
#D7C953 #53A3D7 #8753D7
monochromatic
#8E8321 #C0B02D #D7C953 #E3D985 #EEE8B6

Accessibility & contrast

On white

1.70
#D7C953 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#D7C953 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C953
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C953#FFFFFF#000000##000000
##D7C9531.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC345
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#E6BCB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c953;
/* rgb */ color: rgb(215, 201, 83);
/* oklch */ color: oklch(82.5% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6d988',
    500: '#d7c953',
    950: '#000000',
  },
}
SCSS
$custom: #d7c953;
$custom-light: #e6d988;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c953",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 83
  },
  "hsl": {
    "h": 53.636,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8252,
    "c": 0.13837,
    "h": 102.6
  },
  "luminance": 0.56845
}

Semantic roles & 50–950 ramp

primary
#D7C953
secondary
#3A4494
accent
#54E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C953

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

Preview Lab → · Contrast checker → · Palette generator →

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