#D7C84A#D7C84A

#D7C84A is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.144 H 102.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D7C84A
RGBrgb(215, 200, 74)
HSLhsl(54, 64%, 57%)
HSVhsv(54, 66%, 84%)
CMYKcmyk(0%, 7%, 65.6%, 15.7%)
CIE-LABlab(79.76, -9.34, 62.48)
CIE-LCHlch(79.76, 63.18, 98.50°)
OKLaboklab(82.23% -0.0312 0.141)
OKLCHoklch(82.23% 0.144 102.5)
XYZxyz(49.9167, 56.2521, 14.7056)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C84A #4A59D7
analogous
#D7824A #D7C84A #A0D74A
triadic
#D7C84A #4AD7C8 #C84AD7
tetradic
#D7C84A #4AD782 #4A59D7 #D74AA0
square
#D7C84A #4AD782 #4A59D7 #D74AA0
split-complementary
#D7C84A #4AA0D7 #824AD7
monochromatic
#887D1E #BBAB29 #D7C84A #E2D77C #EDE6AE

Accessibility & contrast

On white

1.71
#D7C84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D7C84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C84A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C84A#FFFFFF#000000##000000
##D7C84A1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23A
Deuteranopia (green-blind)
#DEC951
Tritanopia (blue-blind)
#E7BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c84a;
/* rgb */ color: rgb(215, 200, 74);
/* oklch */ color: oklch(82.2% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#e7d883',
    500: '#d7c84a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c84a;
$custom-light: #e7d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c84a",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 53.617,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82229,
    "c": 0.1444,
    "h": 102.5
  },
  "luminance": 0.5625
}

Semantic roles & 50–950 ramp

primary
#D7C84A
secondary
#37408F
accent
#53E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C84A

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

Preview Lab → · Contrast checker → · Palette generator →

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