#B4B147#B4B147

#B4B147 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.128 H 107.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B4B147
RGBrgb(180, 177, 71)
HSLhsl(58, 43%, 49%)
HSVhsv(58, 61%, 71%)
CMYKcmyk(0%, 1.7%, 60.6%, 29.4%)
CIE-LABlab(70.60, -12.56, 53.12)
CIE-LCHlch(70.60, 54.59, 103.31°)
OKLaboklab(74.22% -0.0386 0.1217)
OKLCHoklch(74.22% 0.128 107.6)
XYZxyz(35.6830, 41.6036, 12.1107)
Luminance0.4160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B147 #474AB4
analogous
#B47B47 #B4B147 #81B447
triadic
#B4B147 #47B4B1 #B147B4
tetradic
#B4B147 #47B47B #474AB4 #B44781
square
#B4B147 #47B47B #474AB4 #B44781
split-complementary
#B4B147 #4781B4 #7B47B4
monochromatic
#5C5B24 #888636 #B4B147 #C7C571 #D8D79D

Accessibility & contrast

On white

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

On black

9.32
#B4B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B147
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B147#FFFFFF#000000##000000
##B4B1471.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b147;
/* rgb */ color: rgb(180, 177, 71);
/* oklch */ color: oklch(74.2% 0.128 107.6);
Tailwind
colors: {
  custom: {
    50: '#cdc87f',
    500: '#b4b147',
    950: '#000000',
  },
}
SCSS
$custom: #b4b147;
$custom-light: #cdc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b147",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 58.349,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74219,
    "c": 0.12763,
    "h": 107.6
  },
  "luminance": 0.41603
}

Semantic roles & 50–950 ramp

primary
#B4B147
secondary
#9293C5
accent
#58D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B147

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

Preview Lab → · Contrast checker → · Palette generator →

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