#B3B031#B3B031

#B3B031 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.143 H 108.1°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B3B031
RGBrgb(179, 176, 49)
HSLhsl(59, 57%, 45%)
HSVhsv(59, 73%, 70%)
CMYKcmyk(0%, 1.7%, 72.6%, 29.8%)
CIE-LABlab(70.08, -13.76, 61.40)
CIE-LCHlch(70.08, 62.92, 102.63°)
OKLaboklab(73.73% -0.0442 0.1356)
OKLCHoklch(73.73% 0.143 108.1)
XYZxyz(34.6714, 40.8573, 8.9650)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B031 #3134B3
analogous
#B36F31 #B3B031 #75B331
triadic
#B3B031 #31B3B0 #B031B3
tetradic
#B3B031 #31B36F #3134B3 #B33175
square
#B3B031 #31B36F #3134B3 #B33175
split-complementary
#B3B031 #3175B3 #6F31B3
monochromatic
#535217 #838124 #B3B031 #D0CD52 #DDDB82

Accessibility & contrast

On white

2.29
#B3B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#B3B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B031
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B031#FFFFFF#000000##000000
##B3B0311.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#C0A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3b031;
/* rgb */ color: rgb(179, 176, 49);
/* oklch */ color: oklch(73.7% 0.143 108.1);
Tailwind
colors: {
  custom: {
    50: '#cdc772',
    500: '#b3b031',
    950: '#000000',
  },
}
SCSS
$custom: #b3b031;
$custom-light: #cdc772;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b031",
  "rgb": {
    "r": 179,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 58.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73731,
    "c": 0.14263,
    "h": 108.1
  },
  "luminance": 0.40856
}

Semantic roles & 50–950 ramp

primary
#B3B031
secondary
#7A7CC6
accent
#4BE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B031

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

Preview Lab → · Contrast checker → · Palette generator →

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