#B4B451#B4B451

#B4B451 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.122 H 109.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B4B451
RGBrgb(180, 180, 81)
HSLhsl(60, 40%, 51%)
HSVhsv(60, 55%, 71%)
CMYKcmyk(0%, 0%, 55%, 29.4%)
CIE-LABlab(71.51, -13.36, 49.60)
CIE-LCHlch(71.51, 51.37, 105.07°)
OKLaboklab(74.98% -0.0398 0.1154)
OKLCHoklch(74.98% 0.122 109)
XYZxyz(36.6298, 42.9408, 14.1418)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B451 #5151B4
analogous
#B48251 #B4B451 #82B451
triadic
#B4B451 #51B4B4 #B451B4
tetradic
#B4B451 #51B482 #5151B4 #B45182
square
#B4B451 #51B482 #5151B4 #B45182
split-complementary
#B4B451 #5182B4 #8251B4
monochromatic
#61612A #8C8C3C #B4B451 #C6C67C #D9D9A7

Accessibility & contrast

On white

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

On black

9.59
#B4B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B451
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B451#FFFFFF#000000##000000
##B4B4511.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#C2B156
Tritanopia (blue-blind)
#BFAA9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b451;
/* rgb */ color: rgb(180, 180, 81);
/* oklch */ color: oklch(75.0% 0.122 109.0);
Tailwind
colors: {
  custom: {
    50: '#cdca85',
    500: '#b4b451',
    950: '#000000',
  },
}
SCSS
$custom: #b4b451;
$custom-light: #cdca85;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b451",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74981,
    "c": 0.12206,
    "h": 109
  },
  "luminance": 0.4294
}

Semantic roles & 50–950 ramp

primary
#B4B451
secondary
#9B9BC6
accent
#58D058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B451

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

Preview Lab → · Contrast checker → · Palette generator →

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