#B3BA2F#B3BA2F

#B3BA2F is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.154 H 112.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#B3BA2F
RGBrgb(179, 186, 47)
HSLhsl(63, 60%, 46%)
HSVhsv(63, 75%, 73%)
CMYKcmyk(3.8%, 0%, 74.7%, 27.1%)
CIE-LABlab(72.83, -18.92, 64.68)
CIE-LCHlch(72.83, 67.39, 106.30°)
OKLaboklab(75.93% -0.0588 0.1422)
OKLCHoklch(75.93% 0.154 112.5)
XYZxyz(36.6636, 44.9076, 9.4255)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA2F #362FBA
analogous
#BA7C2F #B3BA2F #6DBA2F
triadic
#B3BA2F #2FB3BA #BA2FB3
tetradic
#B3BA2F #2FBA7C #362FBA #BA2F6D
square
#B3BA2F #2FBA7C #362FBA #BA2F6D
split-complementary
#B3BA2F #2F6DBA #7C2FBA
monochromatic
#555816 #848923 #B3BA2F #CDD353 #DBE084

Accessibility & contrast

On white

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

On black

9.98
#B3BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BA2F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BA2F#FFFFFF#000000##000000
##B3BA2F1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10E
Deuteranopia (green-blind)
#C9B43B
Tritanopia (blue-blind)
#BFAEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba2f;
/* rgb */ color: rgb(179, 186, 47);
/* oklch */ color: oklch(75.9% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce72',
    500: '#b3ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba2f;
$custom-light: #cdce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba2f",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 63.022,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7593,
    "c": 0.15388,
    "h": 112.5
  },
  "luminance": 0.44907
}

Semantic roles & 50–950 ramp

primary
#B3BA2F
secondary
#807CC9
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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