#D7CA5C#D7CA5C

#D7CA5C is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.132 H 102.6°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D7CA5C
RGBrgb(215, 202, 92)
HSLhsl(54, 61%, 60%)
HSVhsv(54, 57%, 84%)
CMYKcmyk(0%, 6%, 57.2%, 15.7%)
CIE-LABlab(80.44, -9.18, 55.45)
CIE-LCHlch(80.44, 56.21, 99.40°)
OKLaboklab(82.82% -0.0287 0.1285)
OKLCHoklch(82.82% 0.132 102.6)
XYZxyz(51.0784, 57.4627, 18.5240)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA5C #5C69D7
analogous
#D78D5C #D7CA5C #A6D75C
triadic
#D7CA5C #5CD7CA #CA5CD7
tetradic
#D7CA5C #5CD78D #5C69D7 #D75CA6
square
#D7CA5C #5CD78D #5C69D7 #D75CA6
split-complementary
#D7CA5C #5CA6D7 #8D5CD7
monochromatic
#948824 #C5B630 #D7CA5C #E3DA8D #EFEABE

Accessibility & contrast

On white

1.68
#D7CA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#D7CA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA5C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA5C#FFFFFF#000000##000000
##D7CA5C1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC451
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#E6BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca5c;
/* rgb */ color: rgb(215, 202, 92);
/* oklch */ color: oklch(82.8% 0.132 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6d98e',
    500: '#d7ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca5c;
$custom-light: #e6d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca5c",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 53.659,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82821,
    "c": 0.1317,
    "h": 102.6
  },
  "luminance": 0.57461
}

Semantic roles & 50–950 ramp

primary
#D7CA5C
secondary
#3E4899
accent
#2FC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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