#D5C14B#D5C14B

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

Color values

HEX#D5C14B
RGBrgb(213, 193, 75)
HSLhsl(51, 62%, 56%)
HSVhsv(51, 65%, 84%)
CMYKcmyk(0%, 9.4%, 64.8%, 16.5%)
CIE-LABlab(77.75, -6.54, 59.92)
CIE-LCHlch(77.75, 60.27, 96.23°)
OKLaboklab(80.6% -0.023 0.1358)
OKLCHoklch(80.6% 0.138 99.6)
XYZxyz(47.7826, 52.7962, 14.3290)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C14B #4B5FD5
analogous
#D57C4B #D5C14B #A4D54B
triadic
#D5C14B #4BD5C1 #C14BD5
tetradic
#D5C14B #4BD57C #4B5FD5 #D54BA4
square
#D5C14B #4BD57C #4B5FD5 #D54BA4
split-complementary
#D5C14B #4BA4D5 #7C4BD5
monochromatic
#86771F #B8A32B #D5C14B #E1D27D #ECE3AE

Accessibility & contrast

On white

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

On black

11.56
#D5C14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C14B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C14B#FFFFFF#000000##000000
##D5C14B1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c14b;
/* rgb */ color: rgb(213, 193, 75);
/* oklch */ color: oklch(80.6% 0.138 99.6);
Tailwind
colors: {
  custom: {
    50: '#e5d383',
    500: '#d5c14b',
    950: '#000000',
  },
}
SCSS
$custom: #d5c14b;
$custom-light: #e5d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c14b",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 51.304,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80601,
    "c": 0.1377,
    "h": 99.6
  },
  "luminance": 0.52794
}

Semantic roles & 50–950 ramp

primary
#D5C14B
secondary
#37448D
accent
#5AE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C14B

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

Preview Lab → · Contrast checker → · Palette generator →

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