#D7C83D#D7C83D

#D7C83D is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.153 H 103.0°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D7C83D
RGBrgb(215, 200, 61)
HSLhsl(54, 66%, 54%)
HSVhsv(54, 72%, 84%)
CMYKcmyk(0%, 7%, 71.6%, 15.7%)
CIE-LABlab(79.67, -10.02, 67.40)
CIE-LCHlch(79.67, 68.14, 98.46°)
OKLaboklab(82.13% -0.0345 0.1492)
OKLCHoklch(82.13% 0.153 103)
XYZxyz(49.5231, 56.0946, 12.6327)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C83D #3D4CD7
analogous
#D77B3D #D7C83D #99D73D
triadic
#D7C83D #3DD7C8 #C83DD7
tetradic
#D7C83D #3DD77B #3D4CD7 #D73D99
square
#D7C83D #3DD77B #3D4CD7 #D73D99
split-complementary
#D7C83D #3D99D7 #7B3DD7
monochromatic
#7F751A #B2A425 #D7C83D #E1D670 #ECE5A2

Accessibility & contrast

On white

1.72
#D7C83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#D7C83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C83D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C83D#FFFFFF#000000##000000
##D7C83D1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC225
Deuteranopia (green-blind)
#DFC946
Tritanopia (blue-blind)
#E7BAAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c83d;
/* rgb */ color: rgb(215, 200, 61);
/* oklch */ color: oklch(82.1% 0.153 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7d87c',
    500: '#d7c83d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c83d;
$custom-light: #e7d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c83d",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 54.156,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8213,
    "c": 0.15311,
    "h": 103
  },
  "luminance": 0.56093
}

Semantic roles & 50–950 ramp

primary
#D7C83D
secondary
#323A87
accent
#50E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7C83D

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

Preview Lab → · Contrast checker → · Palette generator →

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