#D4BF5C#D4BF5C

#D4BF5C is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.122 H 97.5°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D4BF5C
RGBrgb(212, 191, 92)
HSLhsl(50, 58%, 60%)
HSVhsv(50, 57%, 83%)
CMYKcmyk(0%, 9.9%, 56.6%, 16.9%)
CIE-LABlab(77.30, -4.77, 51.81)
CIE-LCHlch(77.30, 52.03, 95.27°)
OKLaboklab(80.27% -0.0159 0.1208)
OKLCHoklch(80.27% 0.122 97.5)
XYZxyz(47.7157, 52.0334, 17.6532)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF5C #5C71D4
analogous
#D4835C #D4BF5C #ADD45C
triadic
#D4BF5C #5CD4BF #BF5CD4
tetradic
#D4BF5C #5CD483 #5C71D4 #D45CAD
square
#D4BF5C #5CD483 #5C71D4 #D45CAD
split-complementary
#D4BF5C #5CADD4 #835CD4
monochromatic
#907D26 #C0A733 #D4BF5C #E1D28C #EEE5BD

Accessibility & contrast

On white

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

On black

11.41
#D4BF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF5C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF5C#FFFFFF#000000##000000
##D4BF5C1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB52
Deuteranopia (green-blind)
#D5C261
Tritanopia (blue-blind)
#E3B3A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4bf5c;
/* rgb */ color: rgb(212, 191, 92);
/* oklch */ color: oklch(80.3% 0.122 97.5);
Tailwind
colors: {
  custom: {
    50: '#e4d28d',
    500: '#d4bf5c',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf5c;
$custom-light: #e4d28d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf5c",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 92
  },
  "hsl": {
    "h": 49.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80271,
    "c": 0.1218,
    "h": 97.5
  },
  "luminance": 0.52031
}

Semantic roles & 50–950 ramp

primary
#D4BF5C
secondary
#3F4E95
accent
#61E146
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4BF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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