#B2BA3E#B2BA3E

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

Color values

HEX#B2BA3E
RGBrgb(178, 186, 62)
HSLhsl(64, 50%, 49%)
HSVhsv(64, 67%, 73%)
CMYKcmyk(4.3%, 0%, 66.7%, 27.1%)
CIE-LABlab(72.85, -18.57, 59.22)
CIE-LCHlch(72.85, 62.06, 107.41°)
OKLaboklab(75.95% -0.0564 0.1333)
OKLCHoklch(75.95% 0.145 112.9)
XYZxyz(36.7895, 44.9314, 11.2911)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA3E #463EBA
analogous
#BA843E #B2BA3E #74BA3E
triadic
#B2BA3E #3EB2BA #BA3EB2
tetradic
#B2BA3E #3EBA84 #463EBA #BA3E74
square
#B2BA3E #3EBA84 #463EBA #BA3E74
split-complementary
#B2BA3E #3E74BA #843EBA
monochromatic
#5A5E1F #868C2F #B2BA3E #C6CD68 #D8DC96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BA3E#FFFFFF#000000##000000
##B2BA3E1.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)
#C8B12C
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#BEAFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba3e;
/* rgb */ color: rgb(178, 186, 62);
/* oklch */ color: oklch(76.0% 0.145 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce7a',
    500: '#b2ba3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba3e;
$custom-light: #ccce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba3e",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 62
  },
  "hsl": {
    "h": 63.871,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75953,
    "c": 0.14469,
    "h": 112.9
  },
  "luminance": 0.44931
}

Semantic roles & 50–950 ramp

primary
#B2BA3E
secondary
#908CC8
accent
#4EDA57
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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