#D5C83E#D5C83E

#D5C83E is a light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.153 H 103.9°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D5C83E
RGBrgb(213, 200, 62)
HSLhsl(55, 64%, 54%)
HSVhsv(55, 71%, 84%)
CMYKcmyk(0%, 6.1%, 70.9%, 16.5%)
CIE-LABlab(79.50, -10.82, 66.82)
CIE-LCHlch(79.50, 67.69, 99.20°)
OKLaboklab(81.96% -0.0366 0.1482)
OKLCHoklch(81.96% 0.153 103.9)
XYZxyz(48.9664, 55.8045, 12.7485)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C83E #3E4BD5
analogous
#D57D3E #D5C83E #97D53E
triadic
#D5C83E #3ED5C8 #C83ED5
tetradic
#D5C83E #3ED57D #3E4BD5 #D53E97
square
#D5C83E #3ED57D #3E4BD5 #D53E97
split-complementary
#D5C83E #3E97D5 #7D3ED5
monochromatic
#7D751B #B0A426 #D5C83E #E0D670 #EBE5A3

Accessibility & contrast

On white

1.73
#D5C83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#D5C83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C83E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C83E#FFFFFF#000000##000000
##D5C83E1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC127
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#E5BAAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c83e;
/* rgb */ color: rgb(213, 200, 62);
/* oklch */ color: oklch(82.0% 0.153 103.9);
Tailwind
colors: {
  custom: {
    50: '#e6d87c',
    500: '#d5c83e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c83e;
$custom-light: #e6d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c83e",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 62
  },
  "hsl": {
    "h": 54.834,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81959,
    "c": 0.15263,
    "h": 103.9
  },
  "luminance": 0.55802
}

Semantic roles & 50–950 ramp

primary
#D5C83E
secondary
#323985
accent
#4FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5C83E

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

Preview Lab → · Contrast checker → · Palette generator →

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