#B5B747#B5B747

#B5B747 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.134 H 110.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B5B747
RGBrgb(181, 183, 71)
HSLhsl(61, 44%, 50%)
HSVhsv(61, 61%, 72%)
CMYKcmyk(1.1%, 0%, 61.2%, 28.2%)
CIE-LABlab(72.33, -15.21, 55.02)
CIE-LCHlch(72.33, 57.08, 105.46°)
OKLaboklab(75.62% -0.0462 0.1256)
OKLCHoklch(75.62% 0.134 110.2)
XYZxyz(37.1280, 44.1466, 12.5254)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B747 #4947B7
analogous
#B78147 #B5B747 #7DB747
triadic
#B5B747 #47B5B7 #B747B5
tetradic
#B5B747 #47B781 #4947B7 #B7477D
square
#B5B747 #47B781 #4947B7 #B7477D
split-complementary
#B5B747 #477DB7 #8147B7
monochromatic
#5E5F25 #898B36 #B5B747 #C7C973 #D9DA9F

Accessibility & contrast

On white

2.14
#B5B747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B5B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B747
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B747#FFFFFF#000000##000000
##B5B7471.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03A
Deuteranopia (green-blind)
#C6B34E
Tritanopia (blue-blind)
#C1AC9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b747;
/* rgb */ color: rgb(181, 183, 71);
/* oklch */ color: oklch(75.6% 0.134 110.2);
Tailwind
colors: {
  custom: {
    50: '#cecc7f',
    500: '#b5b747',
    950: '#000000',
  },
}
SCSS
$custom: #b5b747;
$custom-light: #cecc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b747",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 61.071,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75618,
    "c": 0.13385,
    "h": 110.2
  },
  "luminance": 0.44146
}

Semantic roles & 50–950 ramp

primary
#B5B747
secondary
#9494C6
accent
#54D456
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B747

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

Preview Lab → · Contrast checker → · Palette generator →

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