#D4BA4E#D4BA4E

#D4BA4E is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.1% C 0.130 H 95.7°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#D4BA4E
RGBrgb(212, 186, 78)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 63%, 83%)
CMYKcmyk(0%, 12.3%, 63.2%, 16.9%)
CIE-LABlab(75.86, -3.16, 56.57)
CIE-LCHlch(75.86, 56.66, 93.19°)
OKLaboklab(79.09% -0.0129 0.1291)
OKLCHoklch(79.09% 0.13 95.7)
XYZxyz(46.0875, 49.6672, 14.3654)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BA4E #4E68D4
analogous
#D4774E #D4BA4E #ABD44E
triadic
#D4BA4E #4ED4BA #BA4ED4
tetradic
#D4BA4E #4ED477 #4E68D4 #D44EAB
square
#D4BA4E #4ED477 #4E68D4 #D44EAB
split-complementary
#D4BA4E #4EABD4 #774ED4
monochromatic
#877321 #B89D2D #D4BA4E #E0CD7F #ECE0B0

Accessibility & contrast

On white

1.92
#D4BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#D4BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BA4E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BA4E#FFFFFF#000000##000000
##D4BA4E1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB642
Deuteranopia (green-blind)
#D2BF53
Tritanopia (blue-blind)
#E4ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4ba4e;
/* rgb */ color: rgb(212, 186, 78);
/* oklch */ color: oklch(79.1% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#e4ce84',
    500: '#d4ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #d4ba4e;
$custom-light: #e4ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ba4e",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 48.358,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79091,
    "c": 0.12978,
    "h": 95.7
  },
  "luminance": 0.49665
}

Semantic roles & 50–950 ramp

primary
#D4BA4E
secondary
#A4AEDA
accent
#63E444
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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