#D4BA46#D4BA46

#D4BA46 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.136 H 96.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#D4BA46
RGBrgb(212, 186, 70)
HSLhsl(49, 62%, 55%)
HSVhsv(49, 67%, 83%)
CMYKcmyk(0%, 12.3%, 67%, 16.9%)
CIE-LABlab(75.80, -3.64, 59.93)
CIE-LCHlch(75.80, 60.04, 93.47°)
OKLaboklab(79.02% -0.0152 0.135)
OKLCHoklch(79.02% 0.136 96.4)
XYZxyz(45.8179, 49.5594, 12.9457)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BA46 #4660D4
analogous
#D47346 #D4BA46 #A7D446
triadic
#D4BA46 #46D4BA #BA46D4
tetradic
#D4BA46 #46D473 #4660D4 #D446A7
square
#D4BA46 #46D473 #4660D4 #D446A7
split-complementary
#D4BA46 #46A7D4 #7346D4
monochromatic
#816F1E #B39A2A #D4BA46 #E0CD78 #EBDFA9

Accessibility & contrast

On white

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

On black

10.91
#D4BA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BA46
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BA46#FFFFFF#000000##000000
##D4BA461.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB637
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#E4ACA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4ba46;
/* rgb */ color: rgb(212, 186, 70);
/* oklch */ color: oklch(79.0% 0.136 96.4);
Tailwind
colors: {
  custom: {
    50: '#e5ce7f',
    500: '#d4ba46',
    950: '#000000',
  },
}
SCSS
$custom: #d4ba46;
$custom-light: #e5ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ba46",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 49.014,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79017,
    "c": 0.13589,
    "h": 96.4
  },
  "luminance": 0.49557
}

Semantic roles & 50–950 ramp

primary
#D4BA46
secondary
#9DA8D9
accent
#60E542
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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