#D6BF4F#D6BF4F

#D6BF4F is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.133 H 97.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D6BF4F
RGBrgb(214, 191, 79)
HSLhsl(50, 62%, 57%)
HSVhsv(50, 63%, 84%)
CMYKcmyk(0%, 10.7%, 63.1%, 16.1%)
CIE-LABlab(77.36, -4.84, 57.80)
CIE-LCHlch(77.36, 58.00, 94.79°)
OKLaboklab(80.32% -0.0178 0.1319)
OKLCHoklch(80.32% 0.133 97.7)
XYZxyz(47.7757, 52.1245, 14.9401)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BF4F #4F66D6
analogous
#D67C4F #D6BF4F #A9D64F
triadic
#D6BF4F #4FD6BF #BF4FD6
tetradic
#D6BF4F #4FD67C #4F66D6 #D64FA9
square
#D6BF4F #4FD67C #4F66D6 #D64FA9
split-complementary
#D6BF4F #4FA9D6 #7C4FD6
monochromatic
#8A7820 #BCA32C #D6BF4F #E2D181 #EDE3B2

Accessibility & contrast

On white

1.84
#D6BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#D6BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BF4F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BF4F#FFFFFF#000000##000000
##D6BF4F1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D7C255
Tritanopia (blue-blind)
#E6B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d6bf4f;
/* rgb */ color: rgb(214, 191, 79);
/* oklch */ color: oklch(80.3% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#e6d285',
    500: '#d6bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d6bf4f;
$custom-light: #e6d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d6bf4f",
  "rgb": {
    "r": 214,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 49.778,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80316,
    "c": 0.13304,
    "h": 97.7
  },
  "luminance": 0.52122
}

Semantic roles & 50–950 ramp

primary
#D6BF4F
secondary
#394890
accent
#5EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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