#B3BA45#B3BA45

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

Color values

HEX#B3BA45
RGBrgb(179, 186, 69)
HSLhsl(64, 46%, 50%)
HSVhsv(64, 63%, 73%)
CMYKcmyk(3.8%, 0%, 62.9%, 27.1%)
CIE-LABlab(72.98, -17.71, 56.52)
CIE-LCHlch(72.98, 59.23, 107.40°)
OKLaboklab(76.1% -0.0533 0.1286)
OKLCHoklch(76.1% 0.139 112.5)
XYZxyz(37.2245, 45.1320, 12.3795)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA45 #4C45BA
analogous
#BA8745 #B3BA45 #78BA45
triadic
#B3BA45 #45B3BA #BA45B3
tetradic
#B3BA45 #45BA87 #4C45BA #BA4578
square
#B3BA45 #45BA87 #4C45BA #BA4578
split-complementary
#B3BA45 #4578BA #8745BA
monochromatic
#5D6124 #888D34 #B3BA45 #C5CB72 #D7DB9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3BA45#FFFFFF#000000##000000
##B3BA451.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)
#C7B236
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#BEAFA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba45;
/* rgb */ color: rgb(179, 186, 69);
/* oklch */ color: oklch(76.1% 0.139 112.5);
Tailwind
colors: {
  custom: {
    50: '#ccce7e',
    500: '#b3ba45',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba45;
$custom-light: #ccce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba45",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 63.59,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.76095,
    "c": 0.1392,
    "h": 112.5
  },
  "luminance": 0.45131
}

Semantic roles & 50–950 ramp

primary
#B3BA45
secondary
#9693C8
accent
#52D65A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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