#B3B331#B3B331

#B3B331 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.146 H 109.5°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B3B331
RGBrgb(179, 179, 49)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 73%, 70%)
CMYKcmyk(0%, 0%, 72.6%, 29.8%)
CIE-LABlab(70.90, -15.29, 62.19)
CIE-LCHlch(70.90, 64.04, 103.82°)
OKLaboklab(74.39% -0.0485 0.1373)
OKLCHoklch(74.39% 0.146 109.5)
XYZxyz(35.2662, 42.0467, 9.1633)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B331 #3131B3
analogous
#B37231 #B3B331 #72B331
triadic
#B3B331 #31B3B3 #B331B3
tetradic
#B3B331 #31B372 #3131B3 #B33172
square
#B3B331 #31B372 #3131B3 #B33172
split-complementary
#B3B331 #3172B3 #7231B3
monochromatic
#535317 #838324 #B3B331 #D0D052 #DDDD82

Accessibility & contrast

On white

2.23
#B3B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B3B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B331
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B331#FFFFFF#000000##000000
##B3B3311.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB18
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#C0A79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b331;
/* rgb */ color: rgb(179, 179, 49);
/* oklch */ color: oklch(74.4% 0.146 109.5);
Tailwind
colors: {
  custom: {
    50: '#cdc973',
    500: '#b3b331',
    950: '#000000',
  },
}
SCSS
$custom: #b3b331;
$custom-light: #cdc973;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b331",
  "rgb": {
    "r": 179,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74391,
    "c": 0.1456,
    "h": 109.5
  },
  "luminance": 0.42046
}

Semantic roles & 50–950 ramp

primary
#B3B331
secondary
#7A7AC6
accent
#48E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3B331

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

Preview Lab → · Contrast checker → · Palette generator →

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