#D7C83E#D7C83E

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

Color values

HEX#D7C83E
RGBrgb(215, 200, 62)
HSLhsl(54, 66%, 54%)
HSVhsv(54, 71%, 84%)
CMYKcmyk(0%, 7%, 71.2%, 15.7%)
CIE-LABlab(79.67, -9.97, 67.04)
CIE-LCHlch(79.67, 67.78, 98.46°)
OKLaboklab(82.14% -0.0343 0.1486)
OKLCHoklch(82.14% 0.152 103)
XYZxyz(49.5503, 56.1055, 12.7759)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C83E #3E4DD7
analogous
#D77C3E #D7C83E #99D73E
triadic
#D7C83E #3ED7C8 #C83ED7
tetradic
#D7C83E #3ED77C #3E4DD7 #D73E99
square
#D7C83E #3ED77C #3E4DD7 #D73E99
split-complementary
#D7C83E #3E99D7 #7C3ED7
monochromatic
#80761B #B3A525 #D7C83E #E2D671 #ECE5A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C83E#FFFFFF#000000##000000
##D7C83E1.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)
#DAC227
Deuteranopia (green-blind)
#DFC947
Tritanopia (blue-blind)
#E7BAAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c83e;
/* rgb */ color: rgb(215, 200, 62);
/* oklch */ color: oklch(82.1% 0.152 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7d87c',
    500: '#d7c83e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c83e;
$custom-light: #e7d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c83e",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 62
  },
  "hsl": {
    "h": 54.118,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82136,
    "c": 0.15249,
    "h": 103
  },
  "luminance": 0.56103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C83E

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

Preview Lab → · Contrast checker → · Palette generator →

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