#B2B757#B2B757

#B2B757 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.120 H 111.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B2B757
RGBrgb(178, 183, 87)
HSLhsl(63, 40%, 53%)
HSVhsv(63, 52%, 72%)
CMYKcmyk(2.7%, 0%, 52.5%, 28.2%)
CIE-LABlab(72.24, -15.22, 47.57)
CIE-LCHlch(72.24, 49.95, 107.75°)
OKLaboklab(75.54% -0.0443 0.1117)
OKLCHoklch(75.54% 0.12 111.6)
XYZxyz(37.0147, 44.0208, 15.5620)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B757 #5C57B7
analogous
#B78C57 #B2B757 #82B757
triadic
#B2B757 #57B2B7 #B757B2
tetradic
#B2B757 #57B78C #5C57B7 #B75782
square
#B2B757 #57B78C #5C57B7 #B75782
split-complementary
#B2B757 #5782B7 #8C57B7
monochromatic
#64672C #8E923F #B2B757 #C6C982 #D9DCAD

Accessibility & contrast

On white

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

On black

9.80
#B2B757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B757
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B757#FFFFFF#000000##000000
##B2B7571.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04E
Deuteranopia (green-blind)
#C4B25C
Tritanopia (blue-blind)
#BCADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b757;
/* rgb */ color: rgb(178, 183, 87);
/* oklch */ color: oklch(75.5% 0.120 111.6);
Tailwind
colors: {
  custom: {
    50: '#cbcc89',
    500: '#b2b757',
    950: '#000000',
  },
}
SCSS
$custom: #b2b757;
$custom-light: #cbcc89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b757",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 63.125,
    "s": 40,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75543,
    "c": 0.12017,
    "h": 111.6
  },
  "luminance": 0.4402
}

Semantic roles & 50–950 ramp

primary
#B2B757
secondary
#A2A0CA
accent
#58D05E
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2B757

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

Preview Lab → · Contrast checker → · Palette generator →

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