#B2B84C#B2B84C

#B2B84C is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.131 H 112.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B2B84C
RGBrgb(178, 184, 76)
HSLhsl(63, 43%, 51%)
HSVhsv(63, 59%, 72%)
CMYKcmyk(3.3%, 0%, 58.7%, 27.8%)
CIE-LABlab(72.41, -16.62, 52.84)
CIE-LCHlch(72.41, 55.39, 107.46°)
OKLaboklab(75.64% -0.0494 0.1218)
OKLCHoklch(75.64% 0.131 112.1)
XYZxyz(36.8060, 44.2685, 13.4419)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B84C #524CB8
analogous
#B8884C #B2B84C #7CB84C
triadic
#B2B84C #4CB2B8 #B84CB2
tetradic
#B2B84C #4CB888 #524CB8 #B84C7C
square
#B2B84C #4CB888 #524CB8 #B84C7C
split-complementary
#B2B84C #4C7CB8 #884CB8
monochromatic
#5F6327 #8A8E38 #B2B84C #C5C978 #D8DBA4

Accessibility & contrast

On white

2.13
#B2B84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B2B84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B84C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B84C#FFFFFF#000000##000000
##B2B84C1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B040
Deuteranopia (green-blind)
#C5B352
Tritanopia (blue-blind)
#BDAEA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b84c;
/* rgb */ color: rgb(178, 184, 76);
/* oklch */ color: oklch(75.6% 0.131 112.1);
Tailwind
colors: {
  custom: {
    50: '#cbcd82',
    500: '#b2b84c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b84c;
$custom-light: #cbcd82;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b84c",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 63.333,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75639,
    "c": 0.13141,
    "h": 112.1
  },
  "luminance": 0.44268
}

Semantic roles & 50–950 ramp

primary
#B2B84C
secondary
#9B98C8
accent
#55D35C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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