#B2B149#B2B149

#B2B149 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.126 H 108.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B2B149
RGBrgb(178, 177, 73)
HSLhsl(59, 42%, 49%)
HSVhsv(59, 59%, 70%)
CMYKcmyk(0%, 0.6%, 59%, 30.2%)
CIE-LABlab(70.45, -13.27, 52.02)
CIE-LCHlch(70.45, 53.69, 104.31°)
OKLaboklab(74.07% -0.0403 0.1196)
OKLCHoklch(74.07% 0.126 108.6)
XYZxyz(35.2859, 41.3913, 12.4326)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B149 #494AB2
analogous
#B27D49 #B2B149 #7FB249
triadic
#B2B149 #49B2B1 #B149B2
tetradic
#B2B149 #49B27D #494AB2 #B2497F
square
#B2B149 #49B27D #494AB2 #B2497F
split-complementary
#B2B149 #497FB2 #7D49B2
monochromatic
#5B5B25 #878637 #B2B149 #C5C573 #D7D79E

Accessibility & contrast

On white

2.26
#B2B149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B2B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B149
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B149#FFFFFF#000000##000000
##B2B1491.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3D
Deuteranopia (green-blind)
#C0AE4F
Tritanopia (blue-blind)
#BEA79B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b149;
/* rgb */ color: rgb(178, 177, 73);
/* oklch */ color: oklch(74.1% 0.126 108.6);
Tailwind
colors: {
  custom: {
    50: '#ccc880',
    500: '#b2b149',
    950: '#000000',
  },
}
SCSS
$custom: #b2b149;
$custom-light: #ccc880;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b149",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 59.429,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74067,
    "c": 0.12622,
    "h": 108.6
  },
  "luminance": 0.4139
}

Semantic roles & 50–950 ramp

primary
#B2B149
secondary
#9393C4
accent
#57D256
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B149

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

Preview Lab → · Contrast checker → · Palette generator →

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