#D4BE38#D4BE38

#D4BE38 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.7% C 0.148 H 99.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D4BE38
RGBrgb(212, 190, 56)
HSLhsl(52, 64%, 53%)
HSVhsv(52, 74%, 83%)
CMYKcmyk(0%, 10.4%, 73.6%, 16.9%)
CIE-LABlab(76.75, -6.41, 66.29)
CIE-LCHlch(76.75, 66.60, 95.52°)
OKLaboklab(79.74% -0.0246 0.146)
OKLCHoklch(79.74% 0.148 99.6)
XYZxyz(46.2809, 51.1117, 11.1684)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BE38 #384ED4
analogous
#D47038 #D4BE38 #9CD438
triadic
#D4BE38 #38D4BE #BE38D4
tetradic
#D4BE38 #38D470 #384ED4 #D4389C
square
#D4BE38 #38D470 #384ED4 #D4389C
split-complementary
#D4BE38 #389CD4 #7038D4
monochromatic
#786A1A #AA9725 #D4BE38 #DFCE6A #EADF9D

Accessibility & contrast

On white

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

On black

11.22
#D4BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BE38
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BE38#FFFFFF#000000##000000
##D4BE381.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B920
Deuteranopia (green-blind)
#D6C141
Tritanopia (blue-blind)
#E5B0A4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4be38;
/* rgb */ color: rgb(212, 190, 56);
/* oklch */ color: oklch(79.7% 0.148 99.6);
Tailwind
colors: {
  custom: {
    50: '#e5d178',
    500: '#d4be38',
    950: '#000000',
  },
}
SCSS
$custom: #d4be38;
$custom-light: #e5d178;
$custom-dark: #000000;
JSON
{
  "hex": "#d4be38",
  "rgb": {
    "r": 212,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 51.538,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79738,
    "c": 0.14807,
    "h": 99.6
  },
  "luminance": 0.51109
}

Semantic roles & 50–950 ramp

primary
#D4BE38
secondary
#303C80
accent
#58E740
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161409
muted
#85837D

Preview Lab

Preview with #D4BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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