#D5C149#D5C149

#D5C149 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.139 H 99.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D5C149
RGBrgb(213, 193, 73)
HSLhsl(51, 63%, 56%)
HSVhsv(51, 66%, 84%)
CMYKcmyk(0%, 9.4%, 65.7%, 16.5%)
CIE-LABlab(77.74, -6.66, 60.73)
CIE-LCHlch(77.74, 61.10, 96.26°)
OKLaboklab(80.58% -0.0236 0.1372)
OKLCHoklch(80.58% 0.139 99.8)
XYZxyz(47.7152, 52.7692, 13.9742)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C149 #495DD5
analogous
#D57B49 #D5C149 #A3D549
triadic
#D5C149 #49D5C1 #C149D5
tetradic
#D5C149 #49D57B #495DD5 #D549A3
square
#D5C149 #49D57B #495DD5 #D549A3
split-complementary
#D5C149 #49A3D5 #7B49D5
monochromatic
#85761F #B7A32A #D5C149 #E0D27B #ECE3AC

Accessibility & contrast

On white

1.82
#D5C149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D5C149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C149
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C149#FFFFFF#000000##000000
##D5C1491.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3A
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#E5B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c149;
/* rgb */ color: rgb(213, 193, 73);
/* oklch */ color: oklch(80.6% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#e5d382',
    500: '#d5c149',
    950: '#000000',
  },
}
SCSS
$custom: #d5c149;
$custom-light: #e5d382;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c149",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 51.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80583,
    "c": 0.13919,
    "h": 99.8
  },
  "luminance": 0.52767
}

Semantic roles & 50–950 ramp

primary
#D5C149
secondary
#37438C
accent
#5AE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C149

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

Preview Lab → · Contrast checker → · Palette generator →

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