#B3BA46#B3BA46

#B3BA46 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.138 H 112.5°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B3BA46
RGBrgb(179, 186, 70)
HSLhsl(64, 46%, 50%)
HSVhsv(64, 62%, 73%)
CMYKcmyk(3.8%, 0%, 62.4%, 27.1%)
CIE-LABlab(72.99, -17.64, 56.11)
CIE-LCHlch(72.99, 58.82, 107.46°)
OKLaboklab(76.1% -0.053 0.1279)
OKLCHoklch(76.1% 0.138 112.5)
XYZxyz(37.2558, 45.1445, 12.5444)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA46 #4D46BA
analogous
#BA8746 #B3BA46 #79BA46
triadic
#B3BA46 #46B3BA #BA46B3
tetradic
#B3BA46 #46BA87 #4D46BA #BA4679
square
#B3BA46 #46BA87 #4D46BA #BA4679
split-complementary
#B3BA46 #4679BA #8746BA
monochromatic
#5E6124 #898E35 #B3BA46 #C5CB73 #D8DB9F

Accessibility & contrast

On white

2.09
#B3BA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#B3BA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BA46
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BA46#FFFFFF#000000##000000
##B3BA461.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B238
Deuteranopia (green-blind)
#C7B54D
Tritanopia (blue-blind)
#BEAFA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba46;
/* rgb */ color: rgb(179, 186, 70);
/* oklch */ color: oklch(76.1% 0.138 112.5);
Tailwind
colors: {
  custom: {
    50: '#ccce7f',
    500: '#b3ba46',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba46;
$custom-light: #ccce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba46",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 63.621,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76104,
    "c": 0.1384,
    "h": 112.5
  },
  "luminance": 0.45144
}

Semantic roles & 50–950 ramp

primary
#B3BA46
secondary
#9794C8
accent
#52D55A
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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