#B4B256#B4B256

#B4B256 is a light, moderate yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.115 H 107.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B4B256
RGBrgb(180, 178, 86)
HSLhsl(59, 39%, 52%)
HSVhsv(59, 52%, 71%)
CMYKcmyk(0%, 1.1%, 52.2%, 29.4%)
CIE-LABlab(71.02, -11.91, 46.67)
CIE-LCHlch(71.02, 48.16, 104.32°)
OKLaboklab(74.6% -0.0351 0.1096)
OKLCHoklch(74.6% 0.115 107.8)
XYZxyz(36.4234, 42.2169, 15.0323)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B256 #5658B4
analogous
#B48356 #B4B256 #87B456
triadic
#B4B256 #56B4B2 #B256B4
tetradic
#B4B256 #56B483 #5658B4 #B45687
square
#B4B256 #56B483 #5658B4 #B45687
split-complementary
#B4B256 #5687B4 #8356B4
monochromatic
#63622C #8E8C3F #B4B256 #C7C580 #DAD9AB

Accessibility & contrast

On white

2.22
#B4B256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B4B256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B256
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B256#FFFFFF#000000##000000
##B4B2561.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4D
Deuteranopia (green-blind)
#C0B05B
Tritanopia (blue-blind)
#BFA89D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b256;
/* rgb */ color: rgb(180, 178, 86);
/* oklch */ color: oklch(74.6% 0.115 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc888',
    500: '#b4b256',
    950: '#000000',
  },
}
SCSS
$custom: #b4b256;
$custom-light: #ccc888;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b256",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 58.723,
    "s": 38.525,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74604,
    "c": 0.11509,
    "h": 107.8
  },
  "luminance": 0.42216
}

Semantic roles & 50–950 ramp

primary
#B4B256
secondary
#9E9FC7
accent
#5CCE59
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B4B256

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

Preview Lab → · Contrast checker → · Palette generator →

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