#D5C154#D5C154

#D5C154 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.131 H 99.0°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D5C154
RGBrgb(213, 193, 84)
HSLhsl(51, 61%, 58%)
HSVhsv(51, 61%, 84%)
CMYKcmyk(0%, 9.4%, 60.6%, 16.5%)
CIE-LABlab(77.83, -5.97, 56.09)
CIE-LCHlch(77.83, 56.41, 96.07°)
OKLaboklab(80.69% -0.0203 0.1289)
OKLCHoklch(80.69% 0.131 99)
XYZxyz(48.1127, 52.9282, 16.0677)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C154 #5468D5
analogous
#D58054 #D5C154 #A8D554
triadic
#D5C154 #54D5C1 #C154D5
tetradic
#D5C154 #54D580 #5468D5 #D554A8
square
#D5C154 #54D580 #5468D5 #D554A8
split-complementary
#D5C154 #54A8D5 #8054D5
monochromatic
#8C7C22 #BDA72E #D5C154 #E1D385 #EDE5B6

Accessibility & contrast

On white

1.81
#D5C154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D5C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C154
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C154#FFFFFF#000000##000000
##D5C1541.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC48
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#E4B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c154;
/* rgb */ color: rgb(213, 193, 84);
/* oklch */ color: oklch(80.7% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#e5d388',
    500: '#d5c154',
    950: '#000000',
  },
}
SCSS
$custom: #d5c154;
$custom-light: #e5d388;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c154",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 50.698,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80688,
    "c": 0.13053,
    "h": 99
  },
  "luminance": 0.52926
}

Semantic roles & 50–950 ramp

primary
#D5C154
secondary
#3B4992
accent
#5DE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C154

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

Preview Lab → · Contrast checker → · Palette generator →

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