#D4BE40#D4BE40

#D4BE40 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.143 H 99.1°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#D4BE40
RGBrgb(212, 190, 64)
HSLhsl(51, 63%, 54%)
HSVhsv(51, 70%, 83%)
CMYKcmyk(0%, 10.4%, 69.8%, 16.9%)
CIE-LABlab(76.80, -6.03, 63.36)
CIE-LCHlch(76.80, 63.65, 95.44°)
OKLaboklab(79.79% -0.0227 0.1413)
OKLCHoklch(79.79% 0.143 99.1)
XYZxyz(46.4924, 51.1963, 12.2825)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BE40 #4056D4
analogous
#D47440 #D4BE40 #A0D440
triadic
#D4BE40 #40D4BE #BE40D4
tetradic
#D4BE40 #40D474 #4056D4 #D440A0
square
#D4BE40 #40D474 #4056D4 #D440A0
split-complementary
#D4BE40 #40A0D4 #7440D4
monochromatic
#7D6F1C #AF9B27 #D4BE40 #DFCF72 #EAE0A4

Accessibility & contrast

On white

1.87
#D4BE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#D4BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BE40
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BE40#FFFFFF#000000##000000
##D4BE401.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#E4B0A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4be40;
/* rgb */ color: rgb(212, 190, 64);
/* oklch */ color: oklch(79.8% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#e5d17c',
    500: '#d4be40',
    950: '#000000',
  },
}
SCSS
$custom: #d4be40;
$custom-light: #e5d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4be40",
  "rgb": {
    "r": 212,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 51.081,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79794,
    "c": 0.14309,
    "h": 99.1
  },
  "luminance": 0.51194
}

Semantic roles & 50–950 ramp

primary
#D4BE40
secondary
#333F85
accent
#5AE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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