#B3A61B#B3A61B

#B3A61B is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.144 H 103.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B3A61B
RGBrgb(179, 166, 27)
HSLhsl(55, 74%, 40%)
HSVhsv(55, 85%, 70%)
CMYKcmyk(0%, 7.3%, 84.9%, 29.8%)
CIE-LABlab(67.23, -9.38, 65.50)
CIE-LCHlch(67.23, 66.17, 98.15°)
OKLaboklab(71.43% -0.0338 0.1403)
OKLCHoklch(71.43% 0.144 103.5)
XYZxyz(32.4260, 36.9367, 6.4582)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A61B #1B28B3
analogous
#B35A1B #B3A61B #74B31B
triadic
#B3A61B #1BB3A6 #A61BB3
tetradic
#B3A61B #1BB35A #1B28B3 #B31B74
square
#B3A61B #1BB35A #1B28B3 #B31B74
split-complementary
#B3A61B #1B74B3 #5A1BB3
monochromatic
#49430B #7E7513 #B3A61B #DFD02C #E7DC61

Accessibility & contrast

On white

2.50
#B3A61B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B3A61B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A61B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A61B#FFFFFF#000000##000000
##B3A61B1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#BAA628
Tritanopia (blue-blind)
#C19A8E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b3a61b;
/* rgb */ color: rgb(179, 166, 27);
/* oklch */ color: oklch(71.4% 0.144 103.5);
Tailwind
colors: {
  custom: {
    50: '#cec068',
    500: '#b3a61b',
    950: '#000000',
  },
}
SCSS
$custom: #b3a61b;
$custom-light: #cec068;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a61b",
  "rgb": {
    "r": 179,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 54.868,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.7143,
    "c": 0.14428,
    "h": 103.5
  },
  "luminance": 0.36935
}

Semantic roles & 50–950 ramp

primary
#B3A61B
secondary
#5E67CC
accent
#47F037
background
#FDFBF6
surface
#FAF7EB
border
#D3D0C6
text
#141207
muted
#83817A

Preview Lab

Preview with #B3A61B

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

Preview Lab → · Contrast checker → · Palette generator →

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