#D4BF4B#D4BF4B

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

Color values

HEX#D4BF4B
RGBrgb(212, 191, 75)
HSLhsl(51, 61%, 56%)
HSVhsv(51, 65%, 83%)
CMYKcmyk(0%, 9.9%, 64.6%, 16.9%)
CIE-LABlab(77.14, -5.94, 59.24)
CIE-LCHlch(77.14, 59.54, 95.72°)
OKLaboklab(80.09% -0.0212 0.1344)
OKLCHoklch(80.09% 0.136 99)
XYZxyz(47.0542, 51.7688, 14.1691)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF4B #4B60D4
analogous
#D47B4B #D4BF4B #A5D44B
triadic
#D4BF4B #4BD4BF #BF4BD4
tetradic
#D4BF4B #4BD47B #4B60D4 #D44BA5
square
#D4BF4B #4BD47B #4B60D4 #D44BA5
split-complementary
#D4BF4B #4BA5D4 #7B4BD4
monochromatic
#857520 #B6A12C #D4BF4B #E0D17C #ECE2AE

Accessibility & contrast

On white

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

On black

11.35
#D4BF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF4B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF4B#FFFFFF#000000##000000
##D4BF4B1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA3D
Deuteranopia (green-blind)
#D6C251
Tritanopia (blue-blind)
#E4B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4bf4b;
/* rgb */ color: rgb(212, 191, 75);
/* oklch */ color: oklch(80.1% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#e4d283',
    500: '#d4bf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf4b;
$custom-light: #e4d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf4b",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 50.803,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80094,
    "c": 0.13603,
    "h": 99
  },
  "luminance": 0.51767
}

Semantic roles & 50–950 ramp

primary
#D4BF4B
secondary
#38448C
accent
#5CE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4BF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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