#D9BF3F#D9BF3F

#D9BF3F is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.145 H 97.4°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#D9BF3F
RGBrgb(217, 191, 63)
HSLhsl(50, 67%, 55%)
HSVhsv(50, 71%, 85%)
CMYKcmyk(0%, 12%, 71%, 14.9%)
CIE-LABlab(77.50, -4.46, 64.60)
CIE-LCHlch(77.50, 64.75, 93.95°)
OKLaboklab(80.46% -0.0187 0.1435)
OKLCHoklch(80.46% 0.145 97.4)
XYZxyz(48.1456, 52.3746, 12.2750)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF3F #3F59D9
analogous
#D9723F #D9BF3F #A6D93F
triadic
#D9BF3F #3FD9BF #BF3FD9
tetradic
#D9BF3F #3FD972 #3F59D9 #D93FA6
square
#D9BF3F #3FD972 #3F59D9 #D93FA6
split-complementary
#D9BF3F #3FA6D9 #723FD9
monochromatic
#84721A #B79E24 #D9BF3F #E3D072 #EDE1A5

Accessibility & contrast

On white

1.83
#D9BF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#D9BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF3F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF3F#FFFFFF#000000##000000
##D9BF3F1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2B
Deuteranopia (green-blind)
#D9C347
Tritanopia (blue-blind)
#EAB1A5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d9bf3f;
/* rgb */ color: rgb(217, 191, 63);
/* oklch */ color: oklch(80.5% 0.145 97.4);
Tailwind
colors: {
  custom: {
    50: '#e9d17c',
    500: '#d9bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf3f;
$custom-light: #e9d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf3f",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 49.87,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80459,
    "c": 0.14474,
    "h": 97.4
  },
  "luminance": 0.52372
}

Semantic roles & 50–950 ramp

primary
#D9BF3F
secondary
#32418A
accent
#5BEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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