#B2B562#B2B562

#B2B562 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.107 H 110.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B2B562
RGBrgb(178, 181, 98)
HSLhsl(62, 36%, 55%)
HSVhsv(62, 46%, 71%)
CMYKcmyk(1.7%, 0%, 45.9%, 29%)
CIE-LABlab(71.82, -13.17, 41.70)
CIE-LCHlch(71.82, 43.73, 107.53°)
OKLaboklab(75.25% -0.0374 0.0998)
OKLCHoklch(75.25% 0.107 110.5)
XYZxyz(37.0892, 43.3953, 17.9752)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B562 #6562B5
analogous
#B58F62 #B2B562 #88B562
triadic
#B2B562 #62B2B5 #B562B2
tetradic
#B2B562 #62B58F #6562B5 #B56288
square
#B2B562 #62B58F #6562B5 #B56288
split-complementary
#B2B562 #6288B5 #8F62B5
monochromatic
#686A32 #919446 #B2B562 #C6C98C #DBDCB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B562#FFFFFF#000000##000000
##B2B5621.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)
#C0AF5B
Deuteranopia (green-blind)
#C1B166
Tritanopia (blue-blind)
#BCACA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b562;
/* rgb */ color: rgb(178, 181, 98);
/* oklch */ color: oklch(75.3% 0.107 110.5);
Tailwind
colors: {
  custom: {
    50: '#cacb90',
    500: '#b2b562',
    950: '#000000',
  },
}
SCSS
$custom: #b2b562;
$custom-light: #cacb90;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b562",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 62.169,
    "s": 35.931,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7525,
    "c": 0.10657,
    "h": 110.5
  },
  "luminance": 0.43395
}

Semantic roles & 50–950 ramp

primary
#B2B562
secondary
#A9A8CB
accent
#5CCC60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130D
muted
#82827D

Preview Lab

Preview with #B2B562

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

Preview Lab → · Contrast checker → · Palette generator →

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