#B3BA40#B3BA40

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

Color values

HEX#B3BA40
RGBrgb(179, 186, 64)
HSLhsl(63, 49%, 49%)
HSVhsv(63, 66%, 73%)
CMYKcmyk(3.8%, 0%, 65.6%, 27.1%)
CIE-LABlab(72.94, -18.03, 58.54)
CIE-LCHlch(72.94, 61.26, 107.12°)
OKLaboklab(76.05% -0.0547 0.1321)
OKLCHoklch(76.05% 0.143 112.5)
XYZxyz(37.0758, 45.0725, 11.5963)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA40 #4740BA
analogous
#BA8440 #B3BA40 #76BA40
triadic
#B3BA40 #40B3BA #BA40B3
tetradic
#B3BA40 #40BA84 #4740BA #BA4076
square
#B3BA40 #40BA84 #4740BA #BA4076
split-complementary
#B3BA40 #4076BA #8440BA
monochromatic
#5B5F21 #878C30 #B3BA40 #C7CC6B #D8DC99

Accessibility & contrast

On white

2.10
#B3BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#B3BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BA40
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BA40#FFFFFF#000000##000000
##B3BA401.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C8B448
Tritanopia (blue-blind)
#BFAFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba40;
/* rgb */ color: rgb(179, 186, 64);
/* oklch */ color: oklch(76.1% 0.143 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce7b',
    500: '#b3ba40',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba40;
$custom-light: #cdce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba40",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 63.443,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76051,
    "c": 0.14298,
    "h": 112.5
  },
  "luminance": 0.45072
}

Semantic roles & 50–950 ramp

primary
#B3BA40
secondary
#918EC8
accent
#4FD857
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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