#B8B047#B8B047

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

Color values

HEX#B8B047
RGBrgb(184, 176, 71)
HSLhsl(56, 44%, 50%)
HSVhsv(56, 61%, 72%)
CMYKcmyk(0%, 4.3%, 61.4%, 27.8%)
CIE-LABlab(70.66, -10.34, 53.29)
CIE-LCHlch(70.66, 54.28, 100.98°)
OKLaboklab(74.35% -0.0325 0.1219)
OKLCHoklch(74.35% 0.126 104.9)
XYZxyz(36.4311, 41.6972, 12.0893)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B047 #474FB8
analogous
#B87747 #B8B047 #88B847
triadic
#B8B047 #47B8B0 #B047B8
tetradic
#B8B047 #47B877 #474FB8 #B84788
square
#B8B047 #47B877 #474FB8 #B84788
split-complementary
#B8B047 #4788B8 #7747B8
monochromatic
#605C25 #8C8636 #B8B047 #C9C373 #DAD69F

Accessibility & contrast

On white

2.25
#B8B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B8B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B047
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B047#FFFFFF#000000##000000
##B8B0471.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#C5A59A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b047;
/* rgb */ color: rgb(184, 176, 71);
/* oklch */ color: oklch(74.4% 0.126 104.9);
Tailwind
colors: {
  custom: {
    50: '#d0c77f',
    500: '#b8b047',
    950: '#000000',
  },
}
SCSS
$custom: #b8b047;
$custom-light: #d0c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b047",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 55.752,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.74352,
    "c": 0.12618,
    "h": 104.9
  },
  "luminance": 0.41696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8B047

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

Preview Lab → · Contrast checker → · Palette generator →

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