#D4BA55#D4BA55

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

Color values

HEX#D4BA55
RGBrgb(212, 186, 85)
HSLhsl(48, 60%, 58%)
HSVhsv(48, 60%, 83%)
CMYKcmyk(0%, 12.3%, 59.9%, 16.9%)
CIE-LABlab(75.93, -2.69, 53.49)
CIE-LCHlch(75.93, 53.56, 92.88°)
OKLaboklab(79.16% -0.0107 0.1235)
OKLCHoklch(79.16% 0.124 95)
XYZxyz(46.3519, 49.7730, 15.7582)
Luminance0.4977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BA55 #556FD4
analogous
#D47B55 #D4BA55 #AED455
triadic
#D4BA55 #55D4BA #BA55D4
tetradic
#D4BA55 #55D47B #556FD4 #D455AE
square
#D4BA55 #55D47B #556FD4 #D455AE
split-complementary
#D4BA55 #55AED4 #7B55D4
monochromatic
#8B7623 #BC9F30 #D4BA55 #E0CE86 #EDE2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4BA55#FFFFFF#000000##000000
##D4BA551.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)
#CBB64A
Deuteranopia (green-blind)
#D2BF5A
Tritanopia (blue-blind)
#E4ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4ba55;
/* rgb */ color: rgb(212, 186, 85);
/* oklch */ color: oklch(79.2% 0.124 95.0);
Tailwind
colors: {
  custom: {
    50: '#e4ce88',
    500: '#d4ba55',
    950: '#000000',
  },
}
SCSS
$custom: #d4ba55;
$custom-light: #e4ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ba55",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 47.717,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79163,
    "c": 0.124,
    "h": 95
  },
  "luminance": 0.49771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4BA55

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

Preview Lab → · Contrast checker → · Palette generator →

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