#D5C260#D5C260

#D5C260 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.121 H 98.5°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#D5C260
RGBrgb(213, 194, 96)
HSLhsl(50, 58%, 61%)
HSVhsv(50, 55%, 84%)
CMYKcmyk(0%, 8.9%, 54.9%, 16.5%)
CIE-LABlab(78.21, -5.60, 51.01)
CIE-LCHlch(78.21, 51.31, 96.26°)
OKLaboklab(81.03% -0.0179 0.1194)
OKLCHoklch(81.03% 0.121 98.5)
XYZxyz(48.8454, 53.5762, 18.8324)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C260 #6073D5
analogous
#D58760 #D5C260 #AED560
triadic
#D5C260 #60D5C2 #C260D5
tetradic
#D5C260 #60D587 #6073D5 #D560AE
square
#D5C260 #60D587 #6073D5 #D560AE
split-complementary
#D5C260 #60AED5 #8760D5
monochromatic
#948227 #C4AD34 #D5C260 #E2D590 #EFE7C1

Accessibility & contrast

On white

1.79
#D5C260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#D5C260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C260
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C260#FFFFFF#000000##000000
##D5C2601.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE57
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#E4B6AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c260;
/* rgb */ color: rgb(213, 194, 96);
/* oklch */ color: oklch(81.0% 0.121 98.5);
Tailwind
colors: {
  custom: {
    50: '#e4d490',
    500: '#d5c260',
    950: '#000000',
  },
}
SCSS
$custom: #d5c260;
$custom-light: #e4d490;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c260",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 96
  },
  "hsl": {
    "h": 50.256,
    "s": 58.209,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81028,
    "c": 0.12077,
    "h": 98.5
  },
  "luminance": 0.53574
}

Semantic roles & 50–950 ramp

primary
#D5C260
secondary
#404F99
accent
#3BC620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C260

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

Preview Lab → · Contrast checker → · Palette generator →

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