#D7CA53#D7CA53

#D7CA53 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.139 H 103.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D7CA53
RGBrgb(215, 202, 83)
HSLhsl(54, 62%, 58%)
HSVhsv(54, 61%, 84%)
CMYKcmyk(0%, 6%, 61.4%, 15.7%)
CIE-LABlab(80.36, -9.80, 59.34)
CIE-LCHlch(80.36, 60.15, 99.38°)
OKLaboklab(82.73% -0.0315 0.1357)
OKLCHoklch(82.73% 0.139 103.1)
XYZxyz(50.7081, 57.3146, 16.5737)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA53 #5360D7
analogous
#D78853 #D7CA53 #A2D753
triadic
#D7CA53 #53D7CA #CA53D7
tetradic
#D7CA53 #53D788 #5360D7 #D753A2
square
#D7CA53 #53D788 #5360D7 #D753A2
split-complementary
#D7CA53 #53A2D7 #8853D7
monochromatic
#8E8421 #C0B22D #D7CA53 #E3D985 #EEE9B6

Accessibility & contrast

On white

1.69
#D7CA53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D7CA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA53
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA53#FFFFFF#000000##000000
##D7CA531.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC445
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#E6BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca53;
/* rgb */ color: rgb(215, 202, 83);
/* oklch */ color: oklch(82.7% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e6d988',
    500: '#d7ca53',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca53;
$custom-light: #e6d988;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca53",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 83
  },
  "hsl": {
    "h": 54.091,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82729,
    "c": 0.13928,
    "h": 103.1
  },
  "luminance": 0.57313
}

Semantic roles & 50–950 ramp

primary
#D7CA53
secondary
#3A4394
accent
#53E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CA53

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

Preview Lab → · Contrast checker → · Palette generator →

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