#B8A844#B8A844

#B8A844 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.121 H 100.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B8A844
RGBrgb(184, 168, 68)
HSLhsl(52, 46%, 49%)
HSVhsv(52, 63%, 72%)
CMYKcmyk(0%, 8.7%, 63%, 27.8%)
CIE-LABlab(68.47, -6.35, 52.25)
CIE-LCHlch(68.47, 52.63, 96.93°)
OKLaboklab(72.6% -0.0215 0.1193)
OKLCHoklch(72.6% 0.121 100.2)
XYZxyz(34.8146, 38.6144, 11.0872)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A844 #4454B8
analogous
#B86E44 #B8A844 #8EB844
triadic
#B8A844 #44B8A8 #A844B8
tetradic
#B8A844 #44B86E #4454B8 #B8448E
square
#B8A844 #44B86E #4454B8 #B8448E
split-complementary
#B8A844 #448EB8 #6E44B8
monochromatic
#5F5623 #8B7F33 #B8A844 #CABD6F #DAD29C

Accessibility & contrast

On white

2.41
#B8A844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B8A844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A844
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A844#FFFFFF#000000##000000
##B8A8441.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A338
Deuteranopia (green-blind)
#BBAA49
Tritanopia (blue-blind)
#C59D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a844;
/* rgb */ color: rgb(184, 168, 68);
/* oklch */ color: oklch(72.6% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#d0c17c',
    500: '#b8a844',
    950: '#000000',
  },
}
SCSS
$custom: #b8a844;
$custom-light: #d0c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a844",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 68
  },
  "hsl": {
    "h": 51.724,
    "s": 46.032,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72603,
    "c": 0.12119,
    "h": 100.2
  },
  "luminance": 0.38613
}

Semantic roles & 50–950 ramp

primary
#B8A844
secondary
#9199C7
accent
#64D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A844

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

Preview Lab → · Contrast checker → · Palette generator →

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