#B4B150#B4B150

#B4B150 is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.3% C 0.120 H 107.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B4B150
RGBrgb(180, 177, 80)
HSLhsl(58, 40%, 51%)
HSVhsv(58, 56%, 71%)
CMYKcmyk(0%, 1.7%, 55.6%, 29.4%)
CIE-LABlab(70.68, -11.89, 49.12)
CIE-LCHlch(70.68, 50.54, 103.61°)
OKLaboklab(74.32% -0.0357 0.1143)
OKLCHoklch(74.32% 0.12 107.4)
XYZxyz(35.9935, 41.7278, 13.7461)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B150 #5053B4
analogous
#B47F50 #B4B150 #85B450
triadic
#B4B150 #50B4B1 #B150B4
tetradic
#B4B150 #50B47F #5053B4 #B45085
square
#B4B150 #50B47F #5053B4 #B45085
split-complementary
#B4B150 #5085B4 #7F50B4
monochromatic
#605F29 #8B893C #B4B150 #C6C47B #D9D7A6

Accessibility & contrast

On white

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

On black

9.35
#B4B150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B150
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B150#FFFFFF#000000##000000
##B4B1501.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB46
Deuteranopia (green-blind)
#C0AF55
Tritanopia (blue-blind)
#C0A79C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b150;
/* rgb */ color: rgb(180, 177, 80);
/* oklch */ color: oklch(74.3% 0.120 107.4);
Tailwind
colors: {
  custom: {
    50: '#cdc884',
    500: '#b4b150',
    950: '#000000',
  },
}
SCSS
$custom: #b4b150;
$custom-light: #cdc884;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b150",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 58.2,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74315,
    "c": 0.1197,
    "h": 107.4
  },
  "luminance": 0.41727
}

Semantic roles & 50–950 ramp

primary
#B4B150
secondary
#9A9BC6
accent
#5CD058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B150

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

Preview Lab → · Contrast checker → · Palette generator →

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