#D5C050#D5C050

#D5C050 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.133 H 98.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D5C050
RGBrgb(213, 192, 80)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 62%, 84%)
CMYKcmyk(0%, 9.9%, 62.4%, 16.5%)
CIE-LABlab(77.54, -5.72, 57.53)
CIE-LCHlch(77.54, 57.82, 95.67°)
OKLaboklab(80.44% -0.0201 0.1315)
OKLCHoklch(80.44% 0.133 98.7)
XYZxyz(47.7402, 52.4267, 15.1926)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C050 #5065D5
analogous
#D57D50 #D5C050 #A8D550
triadic
#D5C050 #50D5C0 #C050D5
tetradic
#D5C050 #50D57D #5065D5 #D550A8
square
#D5C050 #50D57D #5065D5 #D550A8
split-complementary
#D5C050 #50A8D5 #7D50D5
monochromatic
#8A7921 #BBA52D #D5C050 #E1D281 #EDE4B3

Accessibility & contrast

On white

1.83
#D5C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D5C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C050
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C050#FFFFFF#000000##000000
##D5C0501.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E5B3A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c050;
/* rgb */ color: rgb(213, 192, 80);
/* oklch */ color: oklch(80.4% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#e5d286',
    500: '#d5c050',
    950: '#000000',
  },
}
SCSS
$custom: #d5c050;
$custom-light: #e5d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c050",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 50.526,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8044,
    "c": 0.13298,
    "h": 98.7
  },
  "luminance": 0.52425
}

Semantic roles & 50–950 ramp

primary
#D5C050
secondary
#394790
accent
#5DE443
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C050

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

Preview Lab → · Contrast checker → · Palette generator →

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