#D8BE4F#D8BE4F

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

Color values

HEX#D8BE4F
RGBrgb(216, 190, 79)
HSLhsl(49, 64%, 58%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 12%, 63.4%, 15.3%)
CIE-LABlab(77.28, -3.48, 57.77)
CIE-LCHlch(77.28, 57.87, 93.45°)
OKLaboklab(80.3% -0.014 0.1317)
OKLCHoklch(80.3% 0.132 96.1)
XYZxyz(48.1458, 51.9927, 14.8952)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE4F #4F69D8
analogous
#D8794F #D8BE4F #AED84F
triadic
#D8BE4F #4FD8BE #BE4FD8
tetradic
#D8BE4F #4FD879 #4F69D8 #D84FAE
square
#D8BE4F #4FD879 #4F69D8 #D84FAE
split-complementary
#D8BE4F #4FAED8 #794FD8
monochromatic
#8D781F #BFA32A #D8BE4F #E3D181 #EEE3B3

Accessibility & contrast

On white

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

On black

11.40
#D8BE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE4F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE4F#FFFFFF#000000##000000
##D8BE4F1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8be4f;
/* rgb */ color: rgb(216, 190, 79);
/* oklch */ color: oklch(80.3% 0.132 96.1);
Tailwind
colors: {
  custom: {
    50: '#e7d185',
    500: '#d8be4f',
    950: '#000000',
  },
}
SCSS
$custom: #d8be4f;
$custom-light: #e7d185;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be4f",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 48.613,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80296,
    "c": 0.13246,
    "h": 96.1
  },
  "luminance": 0.5199
}

Semantic roles & 50–950 ramp

primary
#D8BE4F
secondary
#384993
accent
#61E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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