#B8A950#B8A950

#B8A950 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.112 H 99.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B8A950
RGBrgb(184, 169, 80)
HSLhsl(51, 42%, 52%)
HSVhsv(51, 57%, 72%)
CMYKcmyk(0%, 8.2%, 56.5%, 27.8%)
CIE-LABlab(68.86, -6.01, 47.12)
CIE-LCHlch(68.86, 47.51, 97.27°)
OKLaboklab(72.95% -0.0191 0.1099)
OKLCHoklch(72.95% 0.112 99.9)
XYZxyz(35.4044, 39.1469, 13.2790)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A950 #505FB8
analogous
#B87550 #B8A950 #93B850
triadic
#B8A950 #50B8A9 #A950B8
tetradic
#B8A950 #50B875 #505FB8 #B85093
square
#B8A950 #50B875 #505FB8 #B85093
split-complementary
#B8A950 #5093B8 #7550B8
monochromatic
#655C29 #90843B #B8A950 #CABE7C #DBD4A7

Accessibility & contrast

On white

2.38
#B8A950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B8A950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A950
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A950#FFFFFF#000000##000000
##B8A9501.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A547
Deuteranopia (green-blind)
#BBAB54
Tritanopia (blue-blind)
#C59E95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a950;
/* rgb */ color: rgb(184, 169, 80);
/* oklch */ color: oklch(72.9% 0.112 99.9);
Tailwind
colors: {
  custom: {
    50: '#d0c284',
    500: '#b8a950',
    950: '#000000',
  },
}
SCSS
$custom: #b8a950;
$custom-light: #d0c284;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a950",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 51.346,
    "s": 42.276,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72948,
    "c": 0.11152,
    "h": 99.9
  },
  "luminance": 0.39145
}

Semantic roles & 50–950 ramp

primary
#B8A950
secondary
#9BA2C9
accent
#68D256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A950

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

Preview Lab → · Contrast checker → · Palette generator →

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