#D4BA54#D4BA54

#D4BA54 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.125 H 95.1°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D4BA54
RGBrgb(212, 186, 84)
HSLhsl(48, 60%, 58%)
HSVhsv(48, 60%, 83%)
CMYKcmyk(0%, 12.3%, 60.4%, 16.9%)
CIE-LABlab(75.92, -2.76, 53.94)
CIE-LCHlch(75.92, 54.01, 92.93°)
OKLaboklab(79.15% -0.0111 0.1244)
OKLCHoklch(79.15% 0.125 95.1)
XYZxyz(46.3125, 49.7572, 15.5504)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BA54 #546ED4
analogous
#D47A54 #D4BA54 #AED454
triadic
#D4BA54 #54D4BA #BA54D4
tetradic
#D4BA54 #54D47A #546ED4 #D454AE
square
#D4BA54 #54D47A #546ED4 #D454AE
split-complementary
#D4BA54 #54AED4 #7A54D4
monochromatic
#8B7623 #BC9F2F #D4BA54 #E0CE85 #EDE1B6

Accessibility & contrast

On white

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

On black

10.95
#D4BA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BA54
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BA54#FFFFFF#000000##000000
##D4BA541.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB649
Deuteranopia (green-blind)
#D2BF59
Tritanopia (blue-blind)
#E4ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4ba54;
/* rgb */ color: rgb(212, 186, 84);
/* oklch */ color: oklch(79.2% 0.125 95.1);
Tailwind
colors: {
  custom: {
    50: '#e4ce88',
    500: '#d4ba54',
    950: '#000000',
  },
}
SCSS
$custom: #d4ba54;
$custom-light: #e4ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ba54",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 47.813,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79152,
    "c": 0.12485,
    "h": 95.1
  },
  "luminance": 0.49755
}

Semantic roles & 50–950 ramp

primary
#D4BA54
secondary
#A8B3DB
accent
#65E345
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D4BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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