#D5C65B#D5C65B

#D5C65B is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.129 H 101.4°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D5C65B
RGBrgb(213, 198, 91)
HSLhsl(53, 59%, 60%)
HSVhsv(53, 57%, 84%)
CMYKcmyk(0%, 7%, 57.3%, 16.5%)
CIE-LABlab(79.21, -8.04, 54.47)
CIE-LCHlch(79.21, 55.06, 98.40°)
OKLaboklab(81.8% -0.0255 0.1263)
OKLCHoklch(81.8% 0.129 101.4)
XYZxyz(49.5247, 55.2915, 17.9591)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C65B #5B6AD5
analogous
#D5895B #D5C65B #A7D55B
triadic
#D5C65B #5BD5C6 #C65BD5
tetradic
#D5C65B #5BD589 #5B6AD5 #D55BA7
square
#D5C65B #5BD589 #5B6AD5 #D55BA7
split-complementary
#D5C65B #5BA7D5 #895BD5
monochromatic
#918325 #C1B032 #D5C65B #E1D78C #EEE8BC

Accessibility & contrast

On white

1.74
#D5C65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D5C65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C65B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C65B#FFFFFF#000000##000000
##D5C65B1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C150
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#E4BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c65b;
/* rgb */ color: rgb(213, 198, 91);
/* oklch */ color: oklch(81.8% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#e5d78d',
    500: '#d5c65b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c65b;
$custom-light: #e5d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c65b",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 52.623,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81801,
    "c": 0.12888,
    "h": 101.4
  },
  "luminance": 0.5529
}

Semantic roles & 50–950 ramp

primary
#D5C65B
secondary
#3E4996
accent
#59E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C65B

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

Preview Lab → · Contrast checker → · Palette generator →

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