#D4C83D#D4C83D

#D4C83D is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.153 H 104.3°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D4C83D
RGBrgb(212, 200, 61)
HSLhsl(55, 64%, 54%)
HSVhsv(55, 71%, 83%)
CMYKcmyk(0%, 5.7%, 71.2%, 16.9%)
CIE-LABlab(79.41, -11.29, 67.06)
CIE-LCHlch(79.41, 68.01, 99.56°)
OKLaboklab(81.86% -0.0379 0.1486)
OKLCHoklch(81.86% 0.153 104.3)
XYZxyz(48.6500, 55.6444, 12.5918)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C83D #3D49D4
analogous
#D47C3D #D4C83D #94D43D
triadic
#D4C83D #3DD4C8 #C83DD4
tetradic
#D4C83D #3DD47C #3D49D4 #D43D94
square
#D4C83D #3DD47C #3D49D4 #D43D94
split-complementary
#D4C83D #3D94D4 #7C3DD4
monochromatic
#7B741B #ADA326 #D4C83D #DFD66F #EAE4A1

Accessibility & contrast

On white

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

On black

12.13
#D4C83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C83D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C83D#FFFFFF#000000##000000
##D4C83D1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c83d;
/* rgb */ color: rgb(212, 200, 61);
/* oklch */ color: oklch(81.9% 0.153 104.3);
Tailwind
colors: {
  custom: {
    50: '#e5d87c',
    500: '#d4c83d',
    950: '#000000',
  },
}
SCSS
$custom: #d4c83d;
$custom-light: #e5d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c83d",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 55.232,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81864,
    "c": 0.15333,
    "h": 104.3
  },
  "luminance": 0.55643
}

Semantic roles & 50–950 ramp

primary
#D4C83D
secondary
#323983
accent
#4EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C83D

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

Preview Lab → · Contrast checker → · Palette generator →

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