#B2B862#B2B862

#B2B862 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.110 H 112.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B2B862
RGBrgb(178, 184, 98)
HSLhsl(64, 38%, 55%)
HSVhsv(64, 47%, 72%)
CMYKcmyk(3.3%, 0%, 46.7%, 27.8%)
CIE-LABlab(72.65, -14.71, 42.71)
CIE-LCHlch(72.65, 45.17, 109.00°)
OKLaboklab(75.91% -0.0418 0.102)
OKLCHoklch(75.91% 0.11 112.3)
XYZxyz(37.7058, 44.6284, 18.1808)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B862 #6862B8
analogous
#B89362 #B2B862 #87B862
triadic
#B2B862 #62B2B8 #B862B2
tetradic
#B2B862 #62B893 #6862B8 #B86287
square
#B2B862 #62B893 #6862B8 #B86287
split-complementary
#B2B862 #6287B8 #9362B8
monochromatic
#6A6E32 #929845 #B2B862 #C7CB8C #DBDEB6

Accessibility & contrast

On white

2.12
#B2B862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B2B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B862
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B862#FFFFFF#000000##000000
##B2B8621.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#C3B366
Tritanopia (blue-blind)
#BCAFA4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b862;
/* rgb */ color: rgb(178, 184, 98);
/* oklch */ color: oklch(75.9% 0.110 112.3);
Tailwind
colors: {
  custom: {
    50: '#cacd90',
    500: '#b2b862',
    950: '#000000',
  },
}
SCSS
$custom: #b2b862;
$custom-light: #cacd90;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b862",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 64.186,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.11024,
    "h": 112.3
  },
  "luminance": 0.44628
}

Semantic roles & 50–950 ramp

primary
#B2B862
secondary
#ABA9CD
accent
#5ACE62
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #B2B862

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

Preview Lab → · Contrast checker → · Palette generator →

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