#D6C84F#D6C84F

#D6C84F is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.141 H 102.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D6C84F
RGBrgb(214, 200, 79)
HSLhsl(54, 62%, 57%)
HSVhsv(54, 63%, 84%)
CMYKcmyk(0%, 6.5%, 63.1%, 16.1%)
CIE-LABlab(79.71, -9.46, 60.33)
CIE-LCHlch(79.71, 61.07, 98.91°)
OKLaboklab(82.19% -0.031 0.1372)
OKLCHoklch(82.19% 0.141 102.7)
XYZxyz(49.7990, 56.1712, 15.6146)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C84F #4F5DD6
analogous
#D6854F #D6C84F #A0D64F
triadic
#D6C84F #4FD6C8 #C84FD6
tetradic
#D6C84F #4FD685 #4F5DD6 #D64FA0
square
#D6C84F #4FD685 #4F5DD6 #D64FA0
split-complementary
#D6C84F #4FA0D6 #854FD6
monochromatic
#8A7F20 #BCAD2C #D6C84F #E2D881 #EDE7B2

Accessibility & contrast

On white

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

On black

12.23
#D6C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C84F
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C84F#FFFFFF#000000##000000
##D6C84F1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6c84f;
/* rgb */ color: rgb(214, 200, 79);
/* oklch */ color: oklch(82.2% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#e6d886',
    500: '#d6c84f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c84f;
$custom-light: #e6d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c84f",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 53.778,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82185,
    "c": 0.14067,
    "h": 102.7
  },
  "luminance": 0.56169
}

Semantic roles & 50–950 ramp

primary
#D6C84F
secondary
#394290
accent
#53E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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