#B2BA3F#B2BA3F

#B2BA3F is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.0% C 0.144 H 112.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#B2BA3F
RGBrgb(178, 186, 63)
HSLhsl(64, 49%, 49%)
HSVhsv(64, 66%, 73%)
CMYKcmyk(4.3%, 0%, 66.1%, 27.1%)
CIE-LABlab(72.85, -18.51, 58.83)
CIE-LCHlch(72.85, 61.67, 107.47°)
OKLaboklab(75.96% -0.0561 0.1326)
OKLCHoklch(75.96% 0.144 112.9)
XYZxyz(36.8172, 44.9424, 11.4370)
Luminance0.4494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA3F #473FBA
analogous
#BA853F #B2BA3F #75BA3F
triadic
#B2BA3F #3FB2BA #BA3FB2
tetradic
#B2BA3F #3FBA85 #473FBA #BA3F75
square
#B2BA3F #3FBA85 #473FBA #BA3F75
split-complementary
#B2BA3F #3F75BA #853FBA
monochromatic
#5B5F20 #868C30 #B2BA3F #C6CC6A #D7DC97

Accessibility & contrast

On white

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

On black

9.99
#B2BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA3F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA3F#FFFFFF#000000##000000
##B2BA3F1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ba3f;
/* rgb */ color: rgb(178, 186, 63);
/* oklch */ color: oklch(76.0% 0.144 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce7b',
    500: '#b2ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba3f;
$custom-light: #ccce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba3f",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 63.902,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75961,
    "c": 0.14396,
    "h": 112.9
  },
  "luminance": 0.44942
}

Semantic roles & 50–950 ramp

primary
#B2BA3F
secondary
#918DC8
accent
#4FD958
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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