#B9A246#B9A246

#B9A246 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.115 H 95.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B9A246
RGBrgb(185, 162, 70)
HSLhsl(48, 45%, 50%)
HSVhsv(48, 62%, 73%)
CMYKcmyk(0%, 12.4%, 62.2%, 27.5%)
CIE-LABlab(66.97, -2.59, 49.73)
CIE-LCHlch(66.97, 49.80, 92.98°)
OKLaboklab(71.45% -0.0106 0.1142)
OKLCHoklch(71.45% 0.115 95.3)
XYZxyz(34.0349, 36.5988, 11.0647)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A246 #465DB9
analogous
#B96946 #B9A246 #96B946
triadic
#B9A246 #46B9A2 #A246B9
tetradic
#B9A246 #46B969 #465DB9 #B94696
square
#B9A246 #46B969 #465DB9 #B94696
split-complementary
#B9A246 #4696B9 #6946B9
monochromatic
#605424 #8D7B35 #B9A246 #CAB872 #DBCF9F

Accessibility & contrast

On white

2.52
#B9A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B9A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A246
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A246#FFFFFF#000000##000000
##B9A2461.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3C
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#C7978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a246;
/* rgb */ color: rgb(185, 162, 70);
/* oklch */ color: oklch(71.4% 0.115 95.3);
Tailwind
colors: {
  custom: {
    50: '#d1bd7d',
    500: '#b9a246',
    950: '#000000',
  },
}
SCSS
$custom: #b9a246;
$custom-light: #d1bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a246",
  "rgb": {
    "r": 185,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 48,
    "s": 45.098,
    "l": 50
  },
  "oklch": {
    "l": 0.71446,
    "c": 0.11466,
    "h": 95.3
  },
  "luminance": 0.36597
}

Semantic roles & 50–950 ramp

primary
#B9A246
secondary
#949EC7
accent
#6DD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9A246

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

Preview Lab → · Contrast checker → · Palette generator →

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