#B2BA76#B2BA76

#B2BA76 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 76.7% C 0.090 H 114.0°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B2BA76
RGBrgb(178, 186, 118)
HSLhsl(67, 33%, 60%)
HSVhsv(67, 37%, 73%)
CMYKcmyk(4.3%, 0%, 36.6%, 27.1%)
CIE-LABlab(73.47, -13.52, 33.57)
CIE-LCHlch(73.47, 36.19, 111.94°)
OKLaboklab(76.66% -0.0368 0.0826)
OKLCHoklch(76.66% 0.09 114)
XYZxyz(39.1892, 45.8912, 23.9294)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA76 #7E76BA
analogous
#BAA076 #B2BA76 #90BA76
triadic
#B2BA76 #76B2BA #BA76B2
tetradic
#B2BA76 #76BAA0 #7E76BA #BA7690
square
#B2BA76 #76BAA0 #7E76BA #BA7690
split-complementary
#B2BA76 #7690BA #A076BA
monochromatic
#72793D #98A151 #B2BA76 #C9CE9F #E0E3C7

Accessibility & contrast

On white

2.06
#B2BA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#B2BA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA76
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA76#FFFFFF#000000##000000
##B2BA761.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B471
Deuteranopia (green-blind)
#C3B579
Tritanopia (blue-blind)
#BAB3A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2ba76;
/* rgb */ color: rgb(178, 186, 118);
/* oklch */ color: oklch(76.7% 0.090 114.0);
Tailwind
colors: {
  custom: {
    50: '#cace9e',
    500: '#b2ba76',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba76;
$custom-light: #cace9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba76",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 118
  },
  "hsl": {
    "h": 67.059,
    "s": 33.01,
    "l": 59.608
  },
  "oklch": {
    "l": 0.76658,
    "c": 0.09038,
    "h": 114
  },
  "luminance": 0.45891
}

Semantic roles & 50–950 ramp

primary
#B2BA76
secondary
#BCB9D3
accent
#5FC96B
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B2BA76

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

Preview Lab → · Contrast checker → · Palette generator →

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