#B4B159#B4B159

#B4B159 is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.111 H 107.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B4B159
RGBrgb(180, 177, 89)
HSLhsl(58, 38%, 53%)
HSVhsv(58, 51%, 71%)
CMYKcmyk(0%, 1.7%, 50.6%, 29.4%)
CIE-LABlab(70.78, -11.13, 44.93)
CIE-LCHlch(70.78, 46.29, 103.91°)
OKLaboklab(74.43% -0.0325 0.1061)
OKLCHoklch(74.43% 0.111 107.1)
XYZxyz(36.3486, 41.8698, 15.6162)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B159 #595CB4
analogous
#B48359 #B4B159 #89B459
triadic
#B4B159 #59B4B1 #B159B4
tetradic
#B4B159 #59B483 #595CB4 #B45989
square
#B4B159 #59B483 #595CB4 #B45989
split-complementary
#B4B159 #5989B4 #8359B4
monochromatic
#65632E #8F8D41 #B4B159 #C7C583 #DAD9AD

Accessibility & contrast

On white

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

On black

9.37
#B4B159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B159
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B159#FFFFFF#000000##000000
##B4B1591.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB51
Deuteranopia (green-blind)
#BFAF5D
Tritanopia (blue-blind)
#BFA79D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b159;
/* rgb */ color: rgb(180, 177, 89);
/* oklch */ color: oklch(74.4% 0.111 107.1);
Tailwind
colors: {
  custom: {
    50: '#ccc88a',
    500: '#b4b159',
    950: '#000000',
  },
}
SCSS
$custom: #b4b159;
$custom-light: #ccc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b159",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 58.022,
    "s": 37.759,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74425,
    "c": 0.111,
    "h": 107.1
  },
  "luminance": 0.41869
}

Semantic roles & 50–950 ramp

primary
#B4B159
secondary
#A1A2C8
accent
#5ECE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B4B159

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

Preview Lab → · Contrast checker → · Palette generator →

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