#B2B548#B2B548

#B2B548 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.131 H 110.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B2B548
RGBrgb(178, 181, 72)
HSLhsl(62, 43%, 50%)
HSVhsv(62, 60%, 71%)
CMYKcmyk(1.7%, 0%, 60.2%, 29%)
CIE-LABlab(71.54, -15.39, 53.66)
CIE-LCHlch(71.54, 55.83, 106.00°)
OKLaboklab(74.94% -0.0464 0.123)
OKLCHoklch(74.94% 0.131 110.7)
XYZxyz(36.0547, 42.9815, 12.5266)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B548 #4B48B5
analogous
#B58148 #B2B548 #7CB548
triadic
#B2B548 #48B2B5 #B548B2
tetradic
#B2B548 #48B581 #4B48B5 #B5487C
square
#B2B548 #48B581 #4B48B5 #B5487C
split-complementary
#B2B548 #487CB5 #8148B5
monochromatic
#5C5D25 #878937 #B2B548 #C5C773 #D7D99F

Accessibility & contrast

On white

2.19
#B2B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B2B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B548
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B548#FFFFFF#000000##000000
##B2B5481.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3B
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b548;
/* rgb */ color: rgb(178, 181, 72);
/* oklch */ color: oklch(74.9% 0.131 110.7);
Tailwind
colors: {
  custom: {
    50: '#cccb80',
    500: '#b2b548',
    950: '#000000',
  },
}
SCSS
$custom: #b2b548;
$custom-light: #cccb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b548",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 61.651,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.13144,
    "h": 110.7
  },
  "luminance": 0.42981
}

Semantic roles & 50–950 ramp

primary
#B2B548
secondary
#9593C5
accent
#55D358
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B548

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

Preview Lab → · Contrast checker → · Palette generator →

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