#B9B047#B9B047

#B9B047 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.126 H 104.4°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B9B047
RGBrgb(185, 176, 71)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 62%, 73%)
CMYKcmyk(0%, 4.9%, 61.6%, 27.5%)
CIE-LABlab(70.75, -9.91, 53.41)
CIE-LCHlch(70.75, 54.32, 100.51°)
OKLaboklab(74.44% -0.0314 0.1221)
OKLCHoklch(74.44% 0.126 104.4)
XYZxyz(36.6716, 41.8212, 12.1006)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B047 #4750B9
analogous
#B97747 #B9B047 #89B947
triadic
#B9B047 #47B9B0 #B047B9
tetradic
#B9B047 #47B977 #4750B9 #B94789
square
#B9B047 #47B977 #4750B9 #B94789
split-complementary
#B9B047 #4789B9 #7747B9
monochromatic
#615C25 #8D8636 #B9B047 #CAC373 #DBD6A0

Accessibility & contrast

On white

2.24
#B9B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#B9B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B047
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B047#FFFFFF#000000##000000
##B9B0471.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA3B
Deuteranopia (green-blind)
#C2AF4D
Tritanopia (blue-blind)
#C6A59A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b047;
/* rgb */ color: rgb(185, 176, 71);
/* oklch */ color: oklch(74.4% 0.126 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c77f',
    500: '#b9b047',
    950: '#000000',
  },
}
SCSS
$custom: #b9b047;
$custom-light: #d1c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b047",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 55.263,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74441,
    "c": 0.1261,
    "h": 104.4
  },
  "luminance": 0.4182
}

Semantic roles & 50–950 ramp

primary
#B9B047
secondary
#9498C7
accent
#5DD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B047

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

Preview Lab → · Contrast checker → · Palette generator →

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