#B4B950#B4B950

#B4B950 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.129 H 111.6°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B4B950
RGBrgb(180, 185, 80)
HSLhsl(63, 43%, 52%)
HSVhsv(63, 57%, 73%)
CMYKcmyk(2.7%, 0%, 56.8%, 27.5%)
CIE-LABlab(72.88, -15.99, 51.61)
CIE-LCHlch(72.88, 54.03, 107.22°)
OKLaboklab(76.07% -0.0473 0.1196)
OKLCHoklch(76.07% 0.129 111.6)
XYZxyz(37.6202, 44.9812, 14.2883)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B950 #5550B9
analogous
#B98A50 #B4B950 #80B950
triadic
#B4B950 #50B4B9 #B950B4
tetradic
#B4B950 #50B98A #5550B9 #B95080
square
#B4B950 #50B98A #5550B9 #B95080
split-complementary
#B4B950 #5080B9 #8A50B9
monochromatic
#636629 #8D923A #B4B950 #C7CA7C #D9DCA7

Accessibility & contrast

On white

2.10
#B4B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#B4B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B950
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B950#FFFFFF#000000##000000
##B4B9501.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B145
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#BFAFA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4b950;
/* rgb */ color: rgb(180, 185, 80);
/* oklch */ color: oklch(76.1% 0.129 111.6);
Tailwind
colors: {
  custom: {
    50: '#cdcd85',
    500: '#b4b950',
    950: '#000000',
  },
}
SCSS
$custom: #b4b950;
$custom-light: #cdcd85;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b950",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 62.857,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76067,
    "c": 0.1286,
    "h": 111.6
  },
  "luminance": 0.4498
}

Semantic roles & 50–950 ramp

primary
#B4B950
secondary
#9E9BC9
accent
#55D35B
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B950

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

Preview Lab → · Contrast checker → · Palette generator →

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