#D1BF5A#D1BF5A

#D1BF5A is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.123 H 99.3°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D1BF5A
RGBrgb(209, 191, 90)
HSLhsl(51, 56%, 59%)
HSVhsv(51, 57%, 82%)
CMYKcmyk(0%, 8.6%, 56.9%, 18%)
CIE-LABlab(77.02, -6.18, 52.34)
CIE-LCHlch(77.02, 52.71, 96.73°)
OKLaboklab(79.97% -0.02 0.1217)
OKLCHoklch(79.97% 0.123 99.3)
XYZxyz(46.7725, 51.5570, 17.1586)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF5A #5A6CD1
analogous
#D1835A #D1BF5A #A7D15A
triadic
#D1BF5A #5AD1BF #BF5AD1
tetradic
#D1BF5A #5AD183 #5A6CD1 #D15AA7
square
#D1BF5A #5AD183 #5A6CD1 #D15AA7
split-complementary
#D1BF5A #5AA7D1 #835AD1
monochromatic
#8A7B27 #BAA634 #D1BF5A #DED28A #ECE4BA

Accessibility & contrast

On white

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

On black

11.31
#D1BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF5A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF5A#FFFFFF#000000##000000
##D1BF5A1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA50
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#E0B3A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf5a;
/* rgb */ color: rgb(209, 191, 90);
/* oklch */ color: oklch(80.0% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#e2d28c',
    500: '#d1bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf5a;
$custom-light: #e2d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf5a",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 50.924,
    "s": 56.398,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79975,
    "c": 0.12337,
    "h": 99.3
  },
  "luminance": 0.51555
}

Semantic roles & 50–950 ramp

primary
#D1BF5A
secondary
#3F4B90
accent
#5FE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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