#D5C650#D5C650

#D5C650 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.138 H 102.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D5C650
RGBrgb(213, 198, 80)
HSLhsl(53, 61%, 57%)
HSVhsv(53, 62%, 84%)
CMYKcmyk(0%, 7%, 62.4%, 16.5%)
CIE-LABlab(79.11, -8.80, 59.23)
CIE-LCHlch(79.11, 59.88, 98.45°)
OKLaboklab(81.69% -0.0289 0.1351)
OKLCHoklch(81.69% 0.138 102.1)
XYZxyz(49.0845, 55.1154, 15.6407)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C650 #505FD5
analogous
#D58350 #D5C650 #A2D550
triadic
#D5C650 #50D5C6 #C650D5
tetradic
#D5C650 #50D583 #505FD5 #D550A2
square
#D5C650 #50D583 #505FD5 #D550A2
split-complementary
#D5C650 #50A2D5 #8350D5
monochromatic
#8A7E21 #BBAB2D #D5C650 #E1D681 #EDE6B3

Accessibility & contrast

On white

1.75
#D5C650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D5C650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C650
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C650#FFFFFF#000000##000000
##D5C6501.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#E4B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c650;
/* rgb */ color: rgb(213, 198, 80);
/* oklch */ color: oklch(81.7% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#e5d786',
    500: '#d5c650',
    950: '#000000',
  },
}
SCSS
$custom: #d5c650;
$custom-light: #e5d786;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c650",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 53.233,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81688,
    "c": 0.13812,
    "h": 102.1
  },
  "luminance": 0.55113
}

Semantic roles & 50–950 ramp

primary
#D5C650
secondary
#394390
accent
#56E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5C650

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

Preview Lab → · Contrast checker → · Palette generator →

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