#B3B328#B3B328

#B3B328 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.150 H 109.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B3B328
RGBrgb(179, 179, 40)
HSLhsl(60, 63%, 43%)
HSVhsv(60, 78%, 70%)
CMYKcmyk(0%, 0%, 77.7%, 29.8%)
CIE-LABlab(70.86, -15.67, 65.08)
CIE-LCHlch(70.86, 66.94, 103.54°)
OKLaboklab(74.34% -0.0504 0.1418)
OKLCHoklch(74.34% 0.15 109.6)
XYZxyz(35.0948, 41.9782, 8.2610)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B328 #2828B3
analogous
#B36D28 #B3B328 #6DB328
triadic
#B3B328 #28B3B3 #B328B3
tetradic
#B3B328 #28B36D #2828B3 #B3286D
square
#B3B328 #28B36D #2828B3 #B3286D
split-complementary
#B3B328 #286DB3 #6D28B3
monochromatic
#4F4F12 #81811D #B3B328 #D5D543 #E0E075

Accessibility & contrast

On white

2.24
#B3B328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B3B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B328
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B328#FFFFFF#000000##000000
##B3B3281.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#C0A799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b328;
/* rgb */ color: rgb(179, 179, 40);
/* oklch */ color: oklch(74.3% 0.150 109.6);
Tailwind
colors: {
  custom: {
    50: '#cec96e',
    500: '#b3b328',
    950: '#000000',
  },
}
SCSS
$custom: #b3b328;
$custom-light: #cec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b328",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74339,
    "c": 0.15046,
    "h": 109.6
  },
  "luminance": 0.41977
}

Semantic roles & 50–950 ramp

primary
#B3B328
secondary
#6F6FC8
accent
#41E641
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B328

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

Preview Lab → · Contrast checker → · Palette generator →

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