#D5BF4F#D5BF4F

#D5BF4F is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.133 H 98.2°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D5BF4F
RGBrgb(213, 191, 79)
HSLhsl(50, 61%, 57%)
HSVhsv(50, 63%, 84%)
CMYKcmyk(0%, 10.3%, 62.9%, 16.5%)
CIE-LABlab(77.27, -5.26, 57.68)
CIE-LCHlch(77.27, 57.92, 95.22°)
OKLaboklab(80.22% -0.0189 0.1316)
OKLCHoklch(80.22% 0.133 98.2)
XYZxyz(47.4847, 51.9744, 14.9265)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF4F #4F65D5
analogous
#D57C4F #D5BF4F #A8D54F
triadic
#D5BF4F #4FD5BF #BF4FD5
tetradic
#D5BF4F #4FD57C #4F65D5 #D54FA8
square
#D5BF4F #4FD57C #4F65D5 #D54FA8
split-complementary
#D5BF4F #4FA8D5 #7C4FD5
monochromatic
#897821 #BAA32C #D5BF4F #E1D180 #EDE3B2

Accessibility & contrast

On white

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

On black

11.39
#D5BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF4F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF4F#FFFFFF#000000##000000
##D5BF4F1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf4f;
/* rgb */ color: rgb(213, 191, 79);
/* oklch */ color: oklch(80.2% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#e5d285',
    500: '#d5bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf4f;
$custom-light: #e5d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf4f",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 50.149,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80224,
    "c": 0.13296,
    "h": 98.2
  },
  "luminance": 0.51972
}

Semantic roles & 50–950 ramp

primary
#D5BF4F
secondary
#39478F
accent
#5EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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