#B3B431#B3B431

#B3B431 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.147 H 109.9°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B3B431
RGBrgb(179, 180, 49)
HSLhsl(60, 57%, 45%)
HSVhsv(60, 73%, 71%)
CMYKcmyk(0.6%, 0%, 72.8%, 29.4%)
CIE-LABlab(71.18, -15.80, 62.45)
CIE-LCHlch(71.18, 64.42, 104.20°)
OKLaboklab(74.61% -0.05 0.1378)
OKLCHoklch(74.61% 0.147 109.9)
XYZxyz(35.4673, 42.4490, 9.2303)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B431 #3231B4
analogous
#B47431 #B3B431 #72B431
triadic
#B3B431 #31B3B4 #B431B3
tetradic
#B3B431 #31B474 #3231B4 #B43172
square
#B3B431 #31B474 #3231B4 #B43172
split-complementary
#B3B431 #3172B4 #7431B4
monochromatic
#535417 #838424 #B3B431 #CFD052 #DCDD82

Accessibility & contrast

On white

2.21
#B3B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B3B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B431
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B431#FFFFFF#000000##000000
##B3B4311.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC17
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#C0A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b3b431;
/* rgb */ color: rgb(179, 180, 49);
/* oklch */ color: oklch(74.6% 0.147 109.9);
Tailwind
colors: {
  custom: {
    50: '#cdca73',
    500: '#b3b431',
    950: '#000000',
  },
}
SCSS
$custom: #b3b431;
$custom-light: #cdca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b431",
  "rgb": {
    "r": 179,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 60.458,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74612,
    "c": 0.1466,
    "h": 109.9
  },
  "luminance": 0.42448
}

Semantic roles & 50–950 ramp

primary
#B3B431
secondary
#7B7BC6
accent
#47E049
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3B431

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

Preview Lab → · Contrast checker → · Palette generator →

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