#D4BE4E#D4BE4E

#D4BE4E is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.133 H 98.2°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#D4BE4E
RGBrgb(212, 190, 78)
HSLhsl(50, 61%, 57%)
HSVhsv(50, 63%, 83%)
CMYKcmyk(0%, 10.4%, 63.2%, 16.9%)
CIE-LABlab(76.91, -5.23, 57.70)
CIE-LCHlch(76.91, 57.94, 95.18°)
OKLaboklab(79.92% -0.0189 0.1315)
OKLCHoklch(79.92% 0.133 98.2)
XYZxyz(46.9420, 51.3762, 14.6502)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BE4E #4E64D4
analogous
#D47B4E #D4BE4E #A7D44E
triadic
#D4BE4E #4ED4BE #BE4ED4
tetradic
#D4BE4E #4ED47B #4E64D4 #D44EA7
square
#D4BE4E #4ED47B #4E64D4 #D44EA7
split-complementary
#D4BE4E #4EA7D4 #7B4ED4
monochromatic
#877621 #B8A12D #D4BE4E #E0D07F #ECE2B0

Accessibility & contrast

On white

1.86
#D4BE4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#D4BE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BE4E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BE4E#FFFFFF#000000##000000
##D4BE4E1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB941
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#E4B1A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4be4e;
/* rgb */ color: rgb(212, 190, 78);
/* oklch */ color: oklch(79.9% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#e4d184',
    500: '#d4be4e',
    950: '#000000',
  },
}
SCSS
$custom: #d4be4e;
$custom-light: #e4d184;
$custom-dark: #000000;
JSON
{
  "hex": "#d4be4e",
  "rgb": {
    "r": 212,
    "g": 190,
    "b": 78
  },
  "hsl": {
    "h": 50.149,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79915,
    "c": 0.13289,
    "h": 98.2
  },
  "luminance": 0.51374
}

Semantic roles & 50–950 ramp

primary
#D4BE4E
secondary
#39478D
accent
#5EE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4BE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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