#B2B558#B2B558

#B2B558 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.117 H 110.6°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B2B558
RGBrgb(178, 181, 88)
HSLhsl(62, 39%, 53%)
HSVhsv(62, 51%, 71%)
CMYKcmyk(1.7%, 0%, 51.4%, 29%)
CIE-LABlab(71.70, -14.11, 46.46)
CIE-LCHlch(71.70, 48.56, 106.90°)
OKLaboklab(75.12% -0.0411 0.1094)
OKLCHoklch(75.12% 0.117 110.6)
XYZxyz(36.6462, 43.2181, 15.6421)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B558 #5B58B5
analogous
#B58958 #B2B558 #84B558
triadic
#B2B558 #58B2B5 #B558B2
tetradic
#B2B558 #58B589 #5B58B5 #B55884
square
#B2B558 #58B589 #5B58B5 #B55884
split-complementary
#B2B558 #5884B5 #8958B5
monochromatic
#64662D #8D9040 #B2B558 #C6C882 #D9DBAD

Accessibility & contrast

On white

2.18
#B2B558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B2B558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B558
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B558#FFFFFF#000000##000000
##B2B5581.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4F
Deuteranopia (green-blind)
#C2B15D
Tritanopia (blue-blind)
#BDABA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b558;
/* rgb */ color: rgb(178, 181, 88);
/* oklch */ color: oklch(75.1% 0.117 110.6);
Tailwind
colors: {
  custom: {
    50: '#cbcb8a',
    500: '#b2b558',
    950: '#000000',
  },
}
SCSS
$custom: #b2b558;
$custom-light: #cbcb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b558",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 61.935,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75116,
    "c": 0.11684,
    "h": 110.6
  },
  "luminance": 0.43217
}

Semantic roles & 50–950 ramp

primary
#B2B558
secondary
#A2A0C9
accent
#59CF5D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2B558

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

Preview Lab → · Contrast checker → · Palette generator →

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