#B4B82F#B4B82F

#B4B82F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.152 H 111.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B4B82F
RGBrgb(180, 184, 47)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 74%, 72%)
CMYKcmyk(2.2%, 0%, 74.5%, 27.8%)
CIE-LABlab(72.36, -17.49, 64.27)
CIE-LCHlch(72.36, 66.61, 105.22°)
OKLaboklab(75.57% -0.0549 0.1413)
OKLCHoklch(75.57% 0.152 111.2)
XYZxyz(36.4772, 44.1905, 9.2969)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B82F #332FB8
analogous
#B8782F #B4B82F #6FB82F
triadic
#B4B82F #2FB4B8 #B82FB4
tetradic
#B4B82F #2FB878 #332FB8 #B82F6F
square
#B4B82F #2FB878 #332FB8 #B82F6F
split-complementary
#B4B82F #2F6FB8 #782FB8
monochromatic
#555716 #848723 #B4B82F #CFD352 #DCDF82

Accessibility & contrast

On white

2.13
#B4B82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B4B82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B82F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B82F#FFFFFF#000000##000000
##B4B82F1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B010
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b82f;
/* rgb */ color: rgb(180, 184, 47);
/* oklch */ color: oklch(75.6% 0.152 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd72',
    500: '#b4b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b82f;
$custom-light: #cecd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b82f",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 61.752,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75569,
    "c": 0.15157,
    "h": 111.2
  },
  "luminance": 0.4419
}

Semantic roles & 50–950 ramp

primary
#B4B82F
secondary
#7D7BC8
accent
#45E24A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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