#D1BF4F#D1BF4F

#D1BF4F is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.133 H 100.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D1BF4F
RGBrgb(209, 191, 79)
HSLhsl(52, 59%, 56%)
HSVhsv(52, 62%, 82%)
CMYKcmyk(0%, 8.6%, 62.2%, 18%)
CIE-LABlab(76.91, -6.95, 57.19)
CIE-LCHlch(76.91, 57.61, 96.93°)
OKLaboklab(79.86% -0.0235 0.1307)
OKLCHoklch(79.86% 0.133 100.2)
XYZxyz(46.3384, 51.3834, 14.8728)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF4F #4F61D1
analogous
#D17E4F #D1BF4F #A2D14F
triadic
#D1BF4F #4FD1BF #BF4FD1
tetradic
#D1BF4F #4FD17E #4F61D1 #D14FA2
square
#D1BF4F #4FD17E #4F61D1 #D14FA2
split-complementary
#D1BF4F #4FA2D1 #7E4FD1
monochromatic
#837622 #B4A12F #D1BF4F #DED180 #EAE2B0

Accessibility & contrast

On white

1.86
#D1BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#D1BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF4F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF4F#FFFFFF#000000##000000
##D1BF4F1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#E0B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf4f;
/* rgb */ color: rgb(209, 191, 79);
/* oklch */ color: oklch(79.9% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#e2d285',
    500: '#d1bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf4f;
$custom-light: #e2d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf4f",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 51.692,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.13278,
    "h": 100.2
  },
  "luminance": 0.51381
}

Semantic roles & 50–950 ramp

primary
#D1BF4F
secondary
#3A458A
accent
#5CE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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