#D6C94F#D6C94F

#D6C94F is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.142 H 103.2°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D6C94F
RGBrgb(214, 201, 79)
HSLhsl(54, 62%, 57%)
HSVhsv(54, 63%, 84%)
CMYKcmyk(0%, 6.1%, 63.1%, 16.1%)
CIE-LABlab(79.97, -9.97, 60.61)
CIE-LCHlch(79.97, 61.43, 99.34°)
OKLaboklab(82.39% -0.0324 0.1378)
OKLCHoklch(82.39% 0.142 103.2)
XYZxyz(50.0314, 56.6359, 15.6920)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C94F #4F5CD6
analogous
#D6854F #D6C94F #A0D64F
triadic
#D6C94F #4FD6C9 #C94FD6
tetradic
#D6C94F #4FD685 #4F5CD6 #D64FA0
square
#D6C94F #4FD685 #4F5CD6 #D64FA0
split-complementary
#D6C94F #4FA0D6 #854FD6
monochromatic
#8A8020 #BCAE2C #D6C94F #E2D881 #EDE7B2

Accessibility & contrast

On white

1.70
#D6C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D6C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C94F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C94F#FFFFFF#000000##000000
##D6C94F1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6c94f;
/* rgb */ color: rgb(214, 201, 79);
/* oklch */ color: oklch(82.4% 0.142 103.2);
Tailwind
colors: {
  custom: {
    50: '#e6d986',
    500: '#d6c94f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c94f;
$custom-light: #e6d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c94f",
  "rgb": {
    "r": 214,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 54.222,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82394,
    "c": 0.14157,
    "h": 103.2
  },
  "luminance": 0.56634
}

Semantic roles & 50–950 ramp

primary
#D6C94F
secondary
#394190
accent
#52E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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