#D4BF3F#D4BF3F

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

Color values

HEX#D4BF3F
RGBrgb(212, 191, 63)
HSLhsl(52, 63%, 54%)
HSVhsv(52, 70%, 83%)
CMYKcmyk(0%, 9.9%, 70.3%, 16.9%)
CIE-LABlab(77.05, -6.60, 64.00)
CIE-LCHlch(77.05, 64.34, 95.89°)
OKLaboklab(80% -0.0244 0.1424)
OKLCHoklch(80% 0.145 99.7)
XYZxyz(46.6815, 51.6197, 12.2064)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF3F #3F54D4
analogous
#D4753F #D4BF3F #9ED43F
triadic
#D4BF3F #3FD4BF #BF3FD4
tetradic
#D4BF3F #3FD475 #3F54D4 #D43F9E
square
#D4BF3F #3FD475 #3F54D4 #D43F9E
split-complementary
#D4BF3F #3F9ED4 #753FD4
monochromatic
#7D6F1C #AF9C27 #D4BF3F #DFD071 #EAE0A3

Accessibility & contrast

On white

1.85
#D4BF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#D4BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF3F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF3F#FFFFFF#000000##000000
##D4BF3F1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2B
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#E4B1A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bf3f;
/* rgb */ color: rgb(212, 191, 63);
/* oklch */ color: oklch(80.0% 0.145 99.7);
Tailwind
colors: {
  custom: {
    50: '#e5d17c',
    500: '#d4bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf3f;
$custom-light: #e5d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf3f",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 51.544,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79995,
    "c": 0.14452,
    "h": 99.7
  },
  "luminance": 0.51618
}

Semantic roles & 50–950 ramp

primary
#D4BF3F
secondary
#333E84
accent
#59E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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