#B9B347#B9B347

#B9B347 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.129 H 106.1°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B9B347
RGBrgb(185, 179, 71)
HSLhsl(57, 45%, 50%)
HSVhsv(57, 62%, 73%)
CMYKcmyk(0%, 3.2%, 61.6%, 27.5%)
CIE-LABlab(71.56, -11.47, 54.29)
CIE-LCHlch(71.56, 55.49, 101.93°)
OKLaboklab(75.09% -0.0358 0.124)
OKLCHoklch(75.09% 0.129 106.1)
XYZxyz(37.2663, 43.0106, 12.2989)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B347 #474DB9
analogous
#B97A47 #B9B347 #86B947
triadic
#B9B347 #47B9B3 #B347B9
tetradic
#B9B347 #47B97A #474DB9 #B94786
square
#B9B347 #47B97A #474DB9 #B94786
split-complementary
#B9B347 #4786B9 #7A47B9
monochromatic
#615E25 #8D8936 #B9B347 #CAC573 #DBD8A0

Accessibility & contrast

On white

2.19
#B9B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B9B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B347
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B347#FFFFFF#000000##000000
##B9B3471.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3A
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#C6A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b347;
/* rgb */ color: rgb(185, 179, 71);
/* oklch */ color: oklch(75.1% 0.129 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1c97f',
    500: '#b9b347',
    950: '#000000',
  },
}
SCSS
$custom: #b9b347;
$custom-light: #d1c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b347",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 56.842,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75089,
    "c": 0.12907,
    "h": 106.1
  },
  "luminance": 0.43009
}

Semantic roles & 50–950 ramp

primary
#B9B347
secondary
#9497C7
accent
#5AD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B347

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

Preview Lab → · Contrast checker → · Palette generator →

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