#B3B327#B3B327

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

Color values

HEX#B3B327
RGBrgb(179, 179, 39)
HSLhsl(60, 64%, 43%)
HSVhsv(60, 78%, 70%)
CMYKcmyk(0%, 0%, 78.2%, 29.8%)
CIE-LABlab(70.85, -15.71, 65.38)
CIE-LCHlch(70.85, 67.24, 103.51°)
OKLaboklab(74.33% -0.0506 0.1422)
OKLCHoklch(74.33% 0.151 109.6)
XYZxyz(35.0781, 41.9715, 8.1726)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B327 #2727B3
analogous
#B36D27 #B3B327 #6DB327
triadic
#B3B327 #27B3B3 #B327B3
tetradic
#B3B327 #27B36D #2727B3 #B3276D
square
#B3B327 #27B36D #2727B3 #B3276D
split-complementary
#B3B327 #276DB3 #6D27B3
monochromatic
#4E4E11 #81811C #B3B327 #D6D641 #E1E174

Accessibility & contrast

On white

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

On black

9.39
#B3B327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B327
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B327#FFFFFF#000000##000000
##B3B3271.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3b327;
/* rgb */ color: rgb(179, 179, 39);
/* oklch */ color: oklch(74.3% 0.151 109.6);
Tailwind
colors: {
  custom: {
    50: '#cec96e',
    500: '#b3b327',
    950: '#000000',
  },
}
SCSS
$custom: #b3b327;
$custom-light: #cec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b327",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.74333,
    "c": 0.15094,
    "h": 109.6
  },
  "luminance": 0.4197
}

Semantic roles & 50–950 ramp

primary
#B3B327
secondary
#6E6EC8
accent
#41E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B327

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

Preview Lab → · Contrast checker → · Palette generator →

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