#B9A862#B9A862

#B9A862 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.093 H 96.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B9A862
RGBrgb(185, 168, 98)
HSLhsl(48, 38%, 55%)
HSVhsv(48, 47%, 73%)
CMYKcmyk(0%, 9.2%, 47%, 27.5%)
CIE-LABlab(68.90, -3.45, 38.24)
CIE-LCHlch(68.90, 38.39, 95.16°)
OKLaboklab(73.07% -0.0098 0.092)
OKLCHoklch(73.07% 0.093 96.1)
XYZxyz(36.2159, 39.2028, 17.2121)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A862 #6273B9
analogous
#B97C62 #B9A862 #9EB962
triadic
#B9A862 #62B9A8 #A862B9
tetradic
#B9A862 #62B97C #6273B9 #B9629E
square
#B9A862 #62B97C #6273B9 #B9629E
split-complementary
#B9A862 #629EB9 #7C62B9
monochromatic
#6F6332 #998944 #B9A862 #CCBF8C #DFD7B7

Accessibility & contrast

On white

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

On black

8.84
#B9A862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A862
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A862#FFFFFF#000000##000000
##B9A8621.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#B9AB65
Tritanopia (blue-blind)
#C59F97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9a862;
/* rgb */ color: rgb(185, 168, 98);
/* oklch */ color: oklch(73.1% 0.093 96.1);
Tailwind
colors: {
  custom: {
    50: '#d0c190',
    500: '#b9a862',
    950: '#000000',
  },
}
SCSS
$custom: #b9a862;
$custom-light: #d0c190;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a862",
  "rgb": {
    "r": 185,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 48.276,
    "s": 38.326,
    "l": 55.49
  },
  "oklch": {
    "l": 0.73072,
    "c": 0.09252,
    "h": 96.1
  },
  "luminance": 0.39201
}

Semantic roles & 50–950 ramp

primary
#B9A862
secondary
#A9B0CE
accent
#70CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B9A862

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

Preview Lab → · Contrast checker → · Palette generator →

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