#B9A241#B9A241

#B9A241 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.119 H 95.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B9A241
RGBrgb(185, 162, 65)
HSLhsl(49, 48%, 49%)
HSVhsv(49, 65%, 73%)
CMYKcmyk(0%, 12.4%, 64.9%, 27.5%)
CIE-LABlab(66.93, -2.92, 51.95)
CIE-LCHlch(66.93, 52.03, 93.22°)
OKLaboklab(71.4% -0.0121 0.1182)
OKLCHoklch(71.4% 0.119 95.9)
XYZxyz(33.8836, 36.5383, 10.2678)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A241 #4158B9
analogous
#B96641 #B9A241 #94B941
triadic
#B9A241 #41B9A2 #A241B9
tetradic
#B9A241 #41B966 #4158B9 #B94194
square
#B9A241 #41B966 #4158B9 #B94194
split-complementary
#B9A241 #4194B9 #6641B9
monochromatic
#5E5321 #8C7A31 #B9A241 #CBB96C #DBCF99

Accessibility & contrast

On white

2.53
#B9A241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B9A241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A241
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A241#FFFFFF#000000##000000
##B9A2411.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#C7968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a241;
/* rgb */ color: rgb(185, 162, 65);
/* oklch */ color: oklch(71.4% 0.119 95.9);
Tailwind
colors: {
  custom: {
    50: '#d1bd7a',
    500: '#b9a241',
    950: '#000000',
  },
}
SCSS
$custom: #b9a241;
$custom-light: #d1bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a241",
  "rgb": {
    "r": 185,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 48.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71395,
    "c": 0.11877,
    "h": 95.9
  },
  "luminance": 0.36537
}

Semantic roles & 50–950 ramp

primary
#B9A241
secondary
#8F99C7
accent
#6AD850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A241

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

Preview Lab → · Contrast checker → · Palette generator →

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