#B3B82F#B3B82F

#B3B82F is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.152 H 111.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B3B82F
RGBrgb(179, 184, 47)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 74%, 72%)
CMYKcmyk(2.7%, 0%, 74.5%, 27.8%)
CIE-LABlab(72.28, -17.92, 64.17)
CIE-LCHlch(72.28, 66.62, 105.60°)
OKLaboklab(75.49% -0.056 0.1411)
OKLCHoklch(75.49% 0.152 111.7)
XYZxyz(36.2452, 44.0708, 9.2860)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B82F #342FB8
analogous
#B8792F #B3B82F #6EB82F
triadic
#B3B82F #2FB3B8 #B82FB3
tetradic
#B3B82F #2FB879 #342FB8 #B82F6E
square
#B3B82F #2FB879 #342FB8 #B82F6E
split-complementary
#B3B82F #2F6EB8 #792FB8
monochromatic
#545716 #848723 #B3B82F #CED352 #DCDF82

Accessibility & contrast

On white

2.14
#B3B82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#B3B82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B82F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B82F#FFFFFF#000000##000000
##B3B82F1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3b82f;
/* rgb */ color: rgb(179, 184, 47);
/* oklch */ color: oklch(75.5% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#cdcd72',
    500: '#b3b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b3b82f;
$custom-light: #cdcd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b82f",
  "rgb": {
    "r": 179,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 62.19,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75485,
    "c": 0.15181,
    "h": 111.7
  },
  "luminance": 0.4407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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