#B2BA47#B2BA47

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

Color values

HEX#B2BA47
RGBrgb(178, 186, 71)
HSLhsl(64, 45%, 50%)
HSVhsv(64, 62%, 73%)
CMYKcmyk(4.3%, 0%, 61.8%, 27.1%)
CIE-LABlab(72.92, -17.99, 55.58)
CIE-LCHlch(72.92, 58.42, 107.94°)
OKLaboklab(76.03% -0.0538 0.1269)
OKLCHoklch(76.03% 0.138 113)
XYZxyz(37.0573, 45.0385, 12.7012)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA47 #4F47BA
analogous
#BA8847 #B2BA47 #78BA47
triadic
#B2BA47 #47B2BA #BA47B2
tetradic
#B2BA47 #47BA88 #4F47BA #BA4778
square
#B2BA47 #47BA88 #4F47BA #BA4778
split-complementary
#B2BA47 #4778BA #8847BA
monochromatic
#5E6225 #888E35 #B2BA47 #C5CB74 #D7DBA0

Accessibility & contrast

On white

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

On black

10.01
#B2BA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA47
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA47#FFFFFF#000000##000000
##B2BA471.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B239
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#BDB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba47;
/* rgb */ color: rgb(178, 186, 71);
/* oklch */ color: oklch(76.0% 0.138 113.0);
Tailwind
colors: {
  custom: {
    50: '#ccce7f',
    500: '#b2ba47',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba47;
$custom-light: #ccce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba47",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 64.174,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76032,
    "c": 0.13785,
    "h": 113
  },
  "luminance": 0.45038
}

Semantic roles & 50–950 ramp

primary
#B2BA47
secondary
#9895C8
accent
#53D55C
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BA47

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

Preview Lab → · Contrast checker → · Palette generator →

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