#D5C450#D5C450

#D5C450 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.136 H 101.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D5C450
RGBrgb(213, 196, 80)
HSLhsl(52, 61%, 57%)
HSVhsv(52, 62%, 84%)
CMYKcmyk(0%, 8%, 62.4%, 16.5%)
CIE-LABlab(78.58, -7.78, 58.67)
CIE-LCHlch(78.58, 59.18, 97.55°)
OKLaboklab(81.27% -0.026 0.1339)
OKLCHoklch(81.27% 0.136 101)
XYZxyz(48.6304, 54.2072, 15.4893)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C450 #5061D5
analogous
#D58250 #D5C450 #A3D550
triadic
#D5C450 #50D5C4 #C450D5
tetradic
#D5C450 #50D582 #5061D5 #D550A3
square
#D5C450 #50D582 #5061D5 #D550A3
split-complementary
#D5C450 #50A3D5 #8250D5
monochromatic
#8A7C21 #BBA92D #D5C450 #E1D581 #EDE5B3

Accessibility & contrast

On white

1.77
#D5C450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#D5C450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C450
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C450#FFFFFF#000000##000000
##D5C4501.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF42
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#E4B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c450;
/* rgb */ color: rgb(213, 196, 80);
/* oklch */ color: oklch(81.3% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#e5d586',
    500: '#d5c450',
    950: '#000000',
  },
}
SCSS
$custom: #d5c450;
$custom-light: #e5d586;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c450",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 52.331,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81271,
    "c": 0.13636,
    "h": 101
  },
  "luminance": 0.54205
}

Semantic roles & 50–950 ramp

primary
#D5C450
secondary
#394490
accent
#58E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5C450

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

Preview Lab → · Contrast checker → · Palette generator →

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