#B3B728#B3B728

#B3B728 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.154 H 111.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B3B728
RGBrgb(179, 183, 40)
HSLhsl(62, 64%, 44%)
HSVhsv(62, 78%, 72%)
CMYKcmyk(2.2%, 0%, 78.1%, 28.2%)
CIE-LABlab(71.96, -17.70, 66.08)
CIE-LCHlch(71.96, 68.41, 104.99°)
OKLaboklab(75.22% -0.056 0.1439)
OKLCHoklch(75.22% 0.154 111.3)
XYZxyz(35.9082, 43.6048, 8.5321)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B728 #2C28B7
analogous
#B77328 #B3B728 #6BB728
triadic
#B3B728 #28B3B7 #B728B3
tetradic
#B3B728 #28B773 #2C28B7 #B7286B
square
#B3B728 #28B773 #2C28B7 #B7286B
split-complementary
#B3B728 #286BB7 #7328B7
monochromatic
#515312 #82851D #B3B728 #D2D646 #DFE178

Accessibility & contrast

On white

2.16
#B3B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B3B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B728
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B728#FFFFFF#000000##000000
##B3B7281.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B235
Tritanopia (blue-blind)
#C0AB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b3b728;
/* rgb */ color: rgb(179, 183, 40);
/* oklch */ color: oklch(75.2% 0.154 111.3);
Tailwind
colors: {
  custom: {
    50: '#cecc6f',
    500: '#b3b728',
    950: '#000000',
  },
}
SCSS
$custom: #b3b728;
$custom-light: #cecc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b728",
  "rgb": {
    "r": 179,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 61.678,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75224,
    "c": 0.15441,
    "h": 111.3
  },
  "luminance": 0.43604
}

Semantic roles & 50–950 ramp

primary
#B3B728
secondary
#7472C9
accent
#41E745
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B728

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

Preview Lab → · Contrast checker → · Palette generator →

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