#B4B84F#B4B84F

#B4B84F is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.128 H 111.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B4B84F
RGBrgb(180, 184, 79)
HSLhsl(62, 43%, 52%)
HSVhsv(62, 57%, 72%)
CMYKcmyk(2.2%, 0%, 57.1%, 27.8%)
CIE-LABlab(72.59, -15.56, 51.74)
CIE-LCHlch(72.59, 54.03, 106.74°)
OKLaboklab(75.84% -0.0462 0.1197)
OKLCHoklch(75.84% 0.128 111.1)
XYZxyz(37.3751, 44.5496, 14.0257)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B84F #534FB8
analogous
#B8884F #B4B84F #80B84F
triadic
#B4B84F #4FB4B8 #B84FB4
tetradic
#B4B84F #4FB888 #534FB8 #B84F80
square
#B4B84F #4FB888 #534FB8 #B84F80
split-complementary
#B4B84F #4F80B8 #884FB8
monochromatic
#626428 #8D903A #B4B84F #C7CA7B #D9DBA6

Accessibility & contrast

On white

2.12
#B4B84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#B4B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B84F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B84F#FFFFFF#000000##000000
##B4B84F1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B044
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#BFAEA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b84f;
/* rgb */ color: rgb(180, 184, 79);
/* oklch */ color: oklch(75.8% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd84',
    500: '#b4b84f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b84f;
$custom-light: #cdcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b84f",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 62.286,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75836,
    "c": 0.12835,
    "h": 111.1
  },
  "luminance": 0.44549
}

Semantic roles & 50–950 ramp

primary
#B4B84F
secondary
#9C9AC8
accent
#56D25A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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