#B2BA3D#B2BA3D

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

Color values

HEX#B2BA3D
RGBrgb(178, 186, 61)
HSLhsl(64, 51%, 48%)
HSVhsv(64, 67%, 73%)
CMYKcmyk(4.3%, 0%, 67.2%, 27.1%)
CIE-LABlab(72.84, -18.63, 59.61)
CIE-LCHlch(72.84, 62.45, 107.36°)
OKLaboklab(75.94% -0.0566 0.1339)
OKLCHoklch(75.94% 0.145 112.9)
XYZxyz(36.7624, 44.9205, 11.1479)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA3D #453DBA
analogous
#BA833D #B2BA3D #73BA3D
triadic
#B2BA3D #3DB2BA #BA3DB2
tetradic
#B2BA3D #3DBA83 #453DBA #BA3D73
square
#B2BA3D #3DBA83 #453DBA #BA3D73
split-complementary
#B2BA3D #3D73BA #833DBA
monochromatic
#5A5E1F #868C2E #B2BA3D #C7CD67 #D8DC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BA3D#FFFFFF#000000##000000
##B2BA3D1.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)
#C8B12B
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#BEAFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba3d;
/* rgb */ color: rgb(178, 186, 61);
/* oklch */ color: oklch(75.9% 0.145 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce7a',
    500: '#b2ba3d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba3d;
$custom-light: #ccce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba3d",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 63.84,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75945,
    "c": 0.14539,
    "h": 112.9
  },
  "luminance": 0.4492
}

Semantic roles & 50–950 ramp

primary
#B2BA3D
secondary
#8F8BC8
accent
#4EDA57
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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