#D5C13E#D5C13E

#D5C13E is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.147 H 100.4°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D5C13E
RGBrgb(213, 193, 62)
HSLhsl(52, 64%, 54%)
HSVhsv(52, 71%, 84%)
CMYKcmyk(0%, 9.4%, 70.9%, 16.5%)
CIE-LABlab(77.66, -7.25, 65.01)
CIE-LCHlch(77.66, 65.41, 96.36°)
OKLaboklab(80.5% -0.0265 0.1444)
OKLCHoklch(80.5% 0.147 100.4)
XYZxyz(47.3822, 52.6360, 12.2205)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C13E #3E52D5
analogous
#D5763E #D5C13E #9ED53E
triadic
#D5C13E #3ED5C1 #C13ED5
tetradic
#D5C13E #3ED576 #3E52D5 #D53E9E
square
#D5C13E #3ED576 #3E52D5 #D53E9E
split-complementary
#D5C13E #3E9ED5 #763ED5
monochromatic
#7D701B #B09D26 #D5C13E #E0D170 #EBE1A3

Accessibility & contrast

On white

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

On black

11.53
#D5C13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C13E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C13E#FFFFFF#000000##000000
##D5C13E1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC29
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#E5B3A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c13e;
/* rgb */ color: rgb(213, 193, 62);
/* oklch */ color: oklch(80.5% 0.147 100.4);
Tailwind
colors: {
  custom: {
    50: '#e6d37b',
    500: '#d5c13e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c13e;
$custom-light: #e6d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c13e",
  "rgb": {
    "r": 213,
    "g": 193,
    "b": 62
  },
  "hsl": {
    "h": 52.053,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80495,
    "c": 0.14676,
    "h": 100.4
  },
  "luminance": 0.52634
}

Semantic roles & 50–950 ramp

primary
#D5C13E
secondary
#323D85
accent
#57E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C13E

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

Preview Lab → · Contrast checker → · Palette generator →

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