#D7CA5A#D7CA5A

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

Color values

HEX#D7CA5A
RGBrgb(215, 202, 90)
HSLhsl(54, 61%, 60%)
HSVhsv(54, 58%, 84%)
CMYKcmyk(0%, 6%, 58.1%, 15.7%)
CIE-LABlab(80.42, -9.32, 56.33)
CIE-LCHlch(80.42, 57.10, 99.40°)
OKLaboklab(82.8% -0.0294 0.1302)
OKLCHoklch(82.8% 0.133 102.7)
XYZxyz(50.9921, 57.4282, 18.0696)
Luminance0.5743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA5A #5A67D7
analogous
#D78C5A #D7CA5A #A6D75A
triadic
#D7CA5A #5AD7CA #CA5AD7
tetradic
#D7CA5A #5AD78C #5A67D7 #D75AA6
square
#D7CA5A #5AD78C #5A67D7 #D75AA6
split-complementary
#D7CA5A #5AA6D7 #8C5AD7
monochromatic
#938724 #C4B530 #D7CA5A #E3DA8B #EFEABD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CA5A#FFFFFF#000000##000000
##D7CA5A1.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)
#DAC44E
Deuteranopia (green-blind)
#DFCA60
Tritanopia (blue-blind)
#E6BDB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca5a;
/* rgb */ color: rgb(215, 202, 90);
/* oklch */ color: oklch(82.8% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#e6d98c',
    500: '#d7ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca5a;
$custom-light: #e6d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca5a",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 53.76,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.828,
    "c": 0.13344,
    "h": 102.7
  },
  "luminance": 0.57426
}

Semantic roles & 50–950 ramp

primary
#D7CA5A
secondary
#3D4798
accent
#54E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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