#D5C73E#D5C73E

#D5C73E is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.152 H 103.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D5C73E
RGBrgb(213, 199, 62)
HSLhsl(54, 64%, 54%)
HSVhsv(54, 71%, 84%)
CMYKcmyk(0%, 6.6%, 70.9%, 16.5%)
CIE-LABlab(79.24, -10.31, 66.56)
CIE-LCHlch(79.24, 67.35, 98.81°)
OKLaboklab(81.75% -0.0351 0.1476)
OKLCHoklch(81.75% 0.152 103.4)
XYZxyz(48.7356, 55.3428, 12.6716)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C73E #3E4CD5
analogous
#D57C3E #D5C73E #98D53E
triadic
#D5C73E #3ED5C7 #C73ED5
tetradic
#D5C73E #3ED57C #3E4CD5 #D53E98
square
#D5C73E #3ED57C #3E4CD5 #D53E98
split-complementary
#D5C73E #3E98D5 #7C3ED5
monochromatic
#7D741B #B0A326 #D5C73E #E0D670 #EBE4A3

Accessibility & contrast

On white

1.74
#D5C73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#D5C73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C73E
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C73E#FFFFFF#000000##000000
##D5C73E1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C027
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#E5B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c73e;
/* rgb */ color: rgb(213, 199, 62);
/* oklch */ color: oklch(81.7% 0.152 103.4);
Tailwind
colors: {
  custom: {
    50: '#e6d77c',
    500: '#d5c73e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c73e;
$custom-light: #e6d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c73e",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 62
  },
  "hsl": {
    "h": 54.437,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81749,
    "c": 0.15176,
    "h": 103.4
  },
  "luminance": 0.55341
}

Semantic roles & 50–950 ramp

primary
#D5C73E
secondary
#323A85
accent
#50E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C73E

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

Preview Lab → · Contrast checker → · Palette generator →

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