#D7C84F#D7C84F

#D7C84F is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.141 H 102.2°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D7C84F
RGBrgb(215, 200, 79)
HSLhsl(53, 63%, 58%)
HSVhsv(53, 63%, 84%)
CMYKcmyk(0%, 7%, 63.3%, 15.7%)
CIE-LABlab(79.80, -9.04, 60.45)
CIE-LCHlch(79.80, 61.12, 98.51°)
OKLaboklab(82.27% -0.0298 0.1374)
OKLCHoklch(82.27% 0.141 102.2)
XYZxyz(50.0919, 56.3221, 15.6283)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C84F #4F5ED7
analogous
#D7844F #D7C84F #A2D74F
triadic
#D7C84F #4FD7C8 #C84FD7
tetradic
#D7C84F #4FD784 #4F5ED7 #D74FA2
square
#D7C84F #4FD784 #4F5ED7 #D74FA2
split-complementary
#D7C84F #4FA2D7 #844FD7
monochromatic
#8C8020 #BEAE2B #D7C84F #E2D881 #EEE7B3

Accessibility & contrast

On white

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

On black

12.26
#D7C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C84F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C84F#FFFFFF#000000##000000
##D7C84F1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#E6BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c84f;
/* rgb */ color: rgb(215, 200, 79);
/* oklch */ color: oklch(82.3% 0.141 102.2);
Tailwind
colors: {
  custom: {
    50: '#e6d886',
    500: '#d7c84f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c84f;
$custom-light: #e6d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c84f",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 53.382,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82273,
    "c": 0.14064,
    "h": 102.2
  },
  "luminance": 0.5632
}

Semantic roles & 50–950 ramp

primary
#D7C84F
secondary
#394292
accent
#54E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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