#D5C150#D5C150

#D5C150 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.134 H 99.3°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D5C150
RGBrgb(213, 193, 80)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 62%, 84%)
CMYKcmyk(0%, 9.4%, 62.4%, 16.5%)
CIE-LABlab(77.80, -6.23, 57.82)
CIE-LCHlch(77.80, 58.15, 96.15°)
OKLaboklab(80.65% -0.0216 0.1321)
OKLCHoklch(80.65% 0.134 99.3)
XYZxyz(47.9605, 52.8674, 15.2660)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C150 #5064D5
analogous
#D57E50 #D5C150 #A7D550
triadic
#D5C150 #50D5C1 #C150D5
tetradic
#D5C150 #50D57E #5064D5 #D550A7
square
#D5C150 #50D57E #5064D5 #D550A7
split-complementary
#D5C150 #50A7D5 #7E50D5
monochromatic
#8A7A21 #BBA62D #D5C150 #E1D281 #EDE4B3

Accessibility & contrast

On white

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

On black

11.57
#D5C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C150
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C150#FFFFFF#000000##000000
##D5C1501.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D8C356
Tritanopia (blue-blind)
#E5B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c150;
/* rgb */ color: rgb(213, 193, 80);
/* oklch */ color: oklch(80.6% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#e5d386',
    500: '#d5c150',
    950: '#000000',
  },
}
SCSS
$custom: #d5c150;
$custom-light: #e5d386;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c150",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 50.977,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80647,
    "c": 0.1338,
    "h": 99.3
  },
  "luminance": 0.52865
}

Semantic roles & 50–950 ramp

primary
#D5C150
secondary
#394690
accent
#5CE443
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C150

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

Preview Lab → · Contrast checker → · Palette generator →

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