#D4BE42#D4BE42

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

Color values

HEX#D4BE42
RGBrgb(212, 190, 66)
HSLhsl(51, 63%, 55%)
HSVhsv(51, 69%, 83%)
CMYKcmyk(0%, 10.4%, 68.9%, 16.9%)
CIE-LABlab(76.81, -5.93, 62.59)
CIE-LCHlch(76.81, 62.87, 95.41°)
OKLaboklab(79.81% -0.0222 0.14)
OKLCHoklch(79.81% 0.142 99)
XYZxyz(46.5503, 51.2195, 12.5876)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BE42 #4258D4
analogous
#D47542 #D4BE42 #A1D442
triadic
#D4BE42 #42D4BE #BE42D4
tetradic
#D4BE42 #42D475 #4258D4 #D442A1
square
#D4BE42 #42D475 #4258D4 #D442A1
split-complementary
#D4BE42 #42A1D4 #7542D4
monochromatic
#7F701D #B19C28 #D4BE42 #DFCF74 #EBE0A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BE42#FFFFFF#000000##000000
##D4BE421.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)
#D0B930
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#E4B0A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4be42;
/* rgb */ color: rgb(212, 190, 66);
/* oklch */ color: oklch(79.8% 0.142 99.0);
Tailwind
colors: {
  custom: {
    50: '#e5d17d',
    500: '#d4be42',
    950: '#000000',
  },
}
SCSS
$custom: #d4be42;
$custom-light: #e5d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4be42",
  "rgb": {
    "r": 212,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 50.959,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7981,
    "c": 0.14174,
    "h": 99
  },
  "luminance": 0.51217
}

Semantic roles & 50–950 ramp

primary
#D4BE42
secondary
#344086
accent
#5BE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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