#B3BA38#B3BA38

#B3BA38 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.148 H 112.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B3BA38
RGBrgb(179, 186, 56)
HSLhsl(63, 54%, 47%)
HSVhsv(63, 70%, 73%)
CMYKcmyk(3.8%, 0%, 69.9%, 27.1%)
CIE-LABlab(72.88, -18.48, 61.59)
CIE-LCHlch(72.88, 64.30, 106.71°)
OKLaboklab(75.99% -0.0568 0.1372)
OKLCHoklch(75.99% 0.149 112.5)
XYZxyz(36.8642, 44.9879, 10.4822)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA38 #3F38BA
analogous
#BA8038 #B3BA38 #72BA38
triadic
#B3BA38 #38B3BA #BA38B3
tetradic
#B3BA38 #38BA80 #3F38BA #BA3872
square
#B3BA38 #38BA80 #3F38BA #BA3872
split-complementary
#B3BA38 #3872BA #8038BA
monochromatic
#585C1C #868B2A #B3BA38 #C9CF60 #D9DD8F

Accessibility & contrast

On white

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

On black

10.00
#B3BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BA38
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BA38#FFFFFF#000000##000000
##B3BA381.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B122
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#BFAFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba38;
/* rgb */ color: rgb(179, 186, 56);
/* oklch */ color: oklch(76.0% 0.148 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce77',
    500: '#b3ba38',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba38;
$custom-light: #cdce77;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba38",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 63.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75989,
    "c": 0.1485,
    "h": 112.5
  },
  "luminance": 0.44987
}

Semantic roles & 50–950 ramp

primary
#B3BA38
secondary
#8986C8
accent
#4BDD53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B3BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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