#D4BF4E#D4BF4E

#D4BF4E is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.134 H 98.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D4BF4E
RGBrgb(212, 191, 78)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 63%, 83%)
CMYKcmyk(0%, 9.9%, 63.2%, 16.9%)
CIE-LABlab(77.17, -5.75, 57.98)
CIE-LCHlch(77.17, 58.27, 95.66°)
OKLaboklab(80.12% -0.0204 0.1321)
OKLCHoklch(80.12% 0.134 98.8)
XYZxyz(47.1593, 51.8108, 14.7227)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF4E #4E63D4
analogous
#D47C4E #D4BF4E #A6D44E
triadic
#D4BF4E #4ED4BF #BF4ED4
tetradic
#D4BF4E #4ED47C #4E63D4 #D44EA6
square
#D4BF4E #4ED47C #4E63D4 #D44EA6
split-complementary
#D4BF4E #4EA6D4 #7C4ED4
monochromatic
#877721 #B8A22D #D4BF4E #E0D17F #ECE3B0

Accessibility & contrast

On white

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

On black

11.36
#D4BF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF4E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF4E#FFFFFF#000000##000000
##D4BF4E1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA41
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#E4B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4bf4e;
/* rgb */ color: rgb(212, 191, 78);
/* oklch */ color: oklch(80.1% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#e4d284',
    500: '#d4bf4e',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf4e;
$custom-light: #e4d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf4e",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 50.597,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80122,
    "c": 0.1337,
    "h": 98.8
  },
  "luminance": 0.51809
}

Semantic roles & 50–950 ramp

primary
#D4BF4E
secondary
#39468D
accent
#5DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4BF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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