#B4B278#B4B278

#B4B278 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.077 H 106.4°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B4B278
RGBrgb(180, 178, 120)
HSLhsl(58, 29%, 59%)
HSVhsv(58, 33%, 71%)
CMYKcmyk(0%, 1.1%, 33.3%, 29.4%)
CIE-LABlab(71.49, -8.33, 29.96)
CIE-LCHlch(71.49, 31.10, 105.53°)
OKLaboklab(75.13% -0.0219 0.0743)
OKLCHoklch(75.13% 0.077 106.4)
XYZxyz(38.1333, 42.9009, 24.0375)
Luminance0.4290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B278 #787AB4
analogous
#B49478 #B4B278 #98B478
triadic
#B4B278 #78B4B2 #B278B4
tetradic
#B4B278 #78B494 #787AB4 #B47898
square
#B4B278 #78B494 #787AB4 #B47898
split-complementary
#B4B278 #7898B4 #9478B4
monochromatic
#72703F #9A9755 #B4B278 #CAC89F #E0DFC7

Accessibility & contrast

On white

2.19
#B4B278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#B4B278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B278
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B278#FFFFFF#000000##000000
##B4B2781.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAE74
Deuteranopia (green-blind)
#BDB07A
Tritanopia (blue-blind)
#BCABA3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b278;
/* rgb */ color: rgb(180, 178, 120);
/* oklch */ color: oklch(75.1% 0.077 106.4);
Tailwind
colors: {
  custom: {
    50: '#cbc89f',
    500: '#b4b278',
    950: '#000000',
  },
}
SCSS
$custom: #b4b278;
$custom-light: #cbc89f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b278",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 120
  },
  "hsl": {
    "h": 58,
    "s": 28.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.75128,
    "c": 0.07742,
    "h": 106.4
  },
  "luminance": 0.429
}

Semantic roles & 50–950 ramp

primary
#B4B278
secondary
#B8B9D0
accent
#66C563
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B4B278

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

Preview Lab → · Contrast checker → · Palette generator →

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