#D5C14F#D5C14F

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

Color values

HEX#D5C14F
RGBrgb(213, 193, 79)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 63%, 84%)
CMYKcmyk(0%, 9.4%, 62.9%, 16.5%)
CIE-LABlab(77.79, -6.30, 58.24)
CIE-LCHlch(77.79, 58.58, 96.17°)
OKLaboklab(80.64% -0.0219 0.1328)
OKLCHoklch(80.64% 0.135 99.4)
XYZxyz(47.9238, 52.8527, 15.0729)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C14F #4F63D5
analogous
#D57E4F #D5C14F #A6D54F
triadic
#D5C14F #4FD5C1 #C14FD5
tetradic
#D5C14F #4FD57E #4F63D5 #D54FA6
square
#D5C14F #4FD57E #4F63D5 #D54FA6
split-complementary
#D5C14F #4FA6D5 #7E4FD5
monochromatic
#897921 #BAA52C #D5C14F #E1D280 #EDE4B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C14F#FFFFFF#000000##000000
##D5C14F1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c14f;
/* rgb */ color: rgb(213, 193, 79);
/* oklch */ color: oklch(80.6% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#e5d385',
    500: '#d5c14f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c14f;
$custom-light: #e5d385;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c14f",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 51.045,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80638,
    "c": 0.1346,
    "h": 99.4
  },
  "luminance": 0.52851
}

Semantic roles & 50–950 ramp

primary
#D5C14F
secondary
#39468F
accent
#5BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C14F

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

Preview Lab → · Contrast checker → · Palette generator →

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