#B2B448#B2B448

#B2B448 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.130 H 110.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B2B448
RGBrgb(178, 180, 72)
HSLhsl(61, 43%, 49%)
HSVhsv(61, 60%, 71%)
CMYKcmyk(1.1%, 0%, 60%, 29.4%)
CIE-LABlab(71.27, -14.88, 53.36)
CIE-LCHlch(71.27, 55.40, 105.58°)
OKLaboklab(74.72% -0.0449 0.1223)
OKLCHoklch(74.72% 0.13 110.2)
XYZxyz(35.8521, 42.5763, 12.4591)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B448 #4A48B4
analogous
#B48048 #B2B448 #7CB448
triadic
#B2B448 #48B2B4 #B448B2
tetradic
#B2B448 #48B480 #4A48B4 #B4487C
square
#B2B448 #48B480 #4A48B4 #B4487C
split-complementary
#B2B448 #487CB4 #8048B4
monochromatic
#5C5D25 #878837 #B2B448 #C5C772 #D7D89E

Accessibility & contrast

On white

2.21
#B2B448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B2B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B448
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B448#FFFFFF#000000##000000
##B2B4481.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3C
Deuteranopia (green-blind)
#C2B04E
Tritanopia (blue-blind)
#BEAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b448;
/* rgb */ color: rgb(178, 180, 72);
/* oklch */ color: oklch(74.7% 0.130 110.2);
Tailwind
colors: {
  custom: {
    50: '#ccca7f',
    500: '#b2b448',
    950: '#000000',
  },
}
SCSS
$custom: #b2b448;
$custom-light: #ccca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b448",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 61.111,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74716,
    "c": 0.13033,
    "h": 110.2
  },
  "luminance": 0.42575
}

Semantic roles & 50–950 ramp

primary
#B2B448
secondary
#9493C5
accent
#55D357
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B448

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

Preview Lab → · Contrast checker → · Palette generator →

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