#B2B758#B2B758

#B2B758 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.119 H 111.6°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B2B758
RGBrgb(178, 183, 88)
HSLhsl(63, 40%, 53%)
HSVhsv(63, 52%, 72%)
CMYKcmyk(2.7%, 0%, 51.9%, 28.2%)
CIE-LABlab(72.25, -15.14, 47.11)
CIE-LCHlch(72.25, 49.48, 107.81°)
OKLaboklab(75.56% -0.044 0.1108)
OKLCHoklch(75.56% 0.119 111.6)
XYZxyz(37.0558, 44.0373, 15.7786)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B758 #5D58B7
analogous
#B78C58 #B2B758 #82B758
triadic
#B2B758 #58B2B7 #B758B2
tetradic
#B2B758 #58B78C #5D58B7 #B75882
square
#B2B758 #58B78C #5D58B7 #B75882
split-complementary
#B2B758 #5882B7 #8C58B7
monochromatic
#65682D #8E933F #B2B758 #C6C983 #D9DCAE

Accessibility & contrast

On white

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

On black

9.81
#B2B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B758
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B758#FFFFFF#000000##000000
##B2B7581.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#C3B25D
Tritanopia (blue-blind)
#BCADA2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b758;
/* rgb */ color: rgb(178, 183, 88);
/* oklch */ color: oklch(75.6% 0.119 111.6);
Tailwind
colors: {
  custom: {
    50: '#cbcc8a',
    500: '#b2b758',
    950: '#000000',
  },
}
SCSS
$custom: #b2b758;
$custom-light: #cbcc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b758",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 63.158,
    "s": 39.749,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75555,
    "c": 0.11919,
    "h": 111.6
  },
  "luminance": 0.44037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2B758

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

Preview Lab → · Contrast checker → · Palette generator →

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