#B2B844#B2B844

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

Color values

HEX#B2B844
RGBrgb(178, 184, 68)
HSLhsl(63, 46%, 49%)
HSVhsv(63, 63%, 72%)
CMYKcmyk(3.3%, 0%, 63%, 27.8%)
CIE-LABlab(72.34, -17.19, 56.24)
CIE-LCHlch(72.34, 58.81, 106.99°)
OKLaboklab(75.56% -0.0519 0.1279)
OKLCHoklch(75.56% 0.138 112.1)
XYZxyz(36.5450, 44.1641, 12.0671)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B844 #4A44B8
analogous
#B88444 #B2B844 #78B844
triadic
#B2B844 #44B2B8 #B844B2
tetradic
#B2B844 #44B884 #4A44B8 #B84478
square
#B2B844 #44B884 #4A44B8 #B84478
split-complementary
#B2B844 #4478B8 #8444B8
monochromatic
#5C5F23 #878B33 #B2B844 #C5CA6F #D7DA9C

Accessibility & contrast

On white

2.14
#B2B844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B2B844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B844
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B844#FFFFFF#000000##000000
##B2B8441.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B035
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#BDADA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b844;
/* rgb */ color: rgb(178, 184, 68);
/* oklch */ color: oklch(75.6% 0.138 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccd7d',
    500: '#b2b844',
    950: '#000000',
  },
}
SCSS
$custom: #b2b844;
$custom-light: #cccd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b844",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 68
  },
  "hsl": {
    "h": 63.103,
    "s": 46.032,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75561,
    "c": 0.13799,
    "h": 112.1
  },
  "luminance": 0.44163
}

Semantic roles & 50–950 ramp

primary
#B2B844
secondary
#9491C7
accent
#52D659
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B844

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

Preview Lab → · Contrast checker → · Palette generator →

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