#B2B648#B2B648

#B2B648 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.2% C 0.133 H 111.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B2B648
RGBrgb(178, 182, 72)
HSLhsl(62, 43%, 50%)
HSVhsv(62, 60%, 71%)
CMYKcmyk(2.2%, 0%, 60.4%, 28.6%)
CIE-LABlab(71.82, -15.90, 53.96)
CIE-LCHlch(71.82, 56.26, 106.42°)
OKLaboklab(75.16% -0.0478 0.1236)
OKLCHoklch(75.16% 0.133 111.1)
XYZxyz(36.2587, 43.3896, 12.5946)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B648 #4C48B6
analogous
#B68348 #B2B648 #7BB648
triadic
#B2B648 #48B2B6 #B648B2
tetradic
#B2B648 #48B683 #4C48B6 #B6487B
square
#B2B648 #48B683 #4C48B6 #B6487B
split-complementary
#B2B648 #487BB6 #8348B6
monochromatic
#5C5E25 #878A37 #B2B648 #C5C873 #D7D99F

Accessibility & contrast

On white

2.17
#B2B648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#B2B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B648
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B648#FFFFFF#000000##000000
##B2B6481.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3B
Deuteranopia (green-blind)
#C4B14F
Tritanopia (blue-blind)
#BDAC9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b648;
/* rgb */ color: rgb(178, 182, 72);
/* oklch */ color: oklch(75.2% 0.133 111.1);
Tailwind
colors: {
  custom: {
    50: '#cccb80',
    500: '#b2b648',
    950: '#000000',
  },
}
SCSS
$custom: #b2b648;
$custom-light: #cccb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b648",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 62.182,
    "s": 43.307,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75157,
    "c": 0.13254,
    "h": 111.1
  },
  "luminance": 0.43389
}

Semantic roles & 50–950 ramp

primary
#B2B648
secondary
#9694C6
accent
#55D359
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B648

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

Preview Lab → · Contrast checker → · Palette generator →

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