#B5B047#B5B047

#B5B047 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.126 H 106.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B5B047
RGBrgb(181, 176, 71)
HSLhsl(57, 44%, 49%)
HSVhsv(57, 61%, 71%)
CMYKcmyk(0%, 2.8%, 60.8%, 29%)
CIE-LABlab(70.41, -11.62, 52.94)
CIE-LCHlch(70.41, 54.20, 102.38°)
OKLaboklab(74.09% -0.036 0.1212)
OKLCHoklch(74.09% 0.126 106.5)
XYZxyz(35.7199, 41.3305, 12.0560)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B047 #474CB5
analogous
#B57947 #B5B047 #83B547
triadic
#B5B047 #47B5B0 #B047B5
tetradic
#B5B047 #47B579 #474CB5 #B54783
square
#B5B047 #47B579 #474CB5 #B54783
split-complementary
#B5B047 #4783B5 #7947B5
monochromatic
#5D5B25 #898536 #B5B047 #C8C472 #D9D69E

Accessibility & contrast

On white

2.27
#B5B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B5B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B047
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B047#FFFFFF#000000##000000
##B5B0471.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#C1A59A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b047;
/* rgb */ color: rgb(181, 176, 71);
/* oklch */ color: oklch(74.1% 0.126 106.5);
Tailwind
colors: {
  custom: {
    50: '#cec77f',
    500: '#b5b047',
    950: '#000000',
  },
}
SCSS
$custom: #b5b047;
$custom-light: #cec77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b047",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 57.273,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74088,
    "c": 0.12646,
    "h": 106.5
  },
  "luminance": 0.41329
}

Semantic roles & 50–950 ramp

primary
#B5B047
secondary
#9395C5
accent
#5AD354
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B047

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

Preview Lab → · Contrast checker → · Palette generator →

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