#B2B458#B2B458

#B2B458 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.116 H 110.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B2B458
RGBrgb(178, 180, 88)
HSLhsl(61, 38%, 53%)
HSVhsv(61, 51%, 71%)
CMYKcmyk(1.1%, 0%, 51.1%, 29.4%)
CIE-LABlab(71.43, -13.60, 46.14)
CIE-LCHlch(71.43, 48.10, 106.42°)
OKLaboklab(74.9% -0.0396 0.1087)
OKLCHoklch(74.9% 0.116 110)
XYZxyz(36.4436, 42.8129, 15.5746)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B458 #5A58B4
analogous
#B48858 #B2B458 #84B458
triadic
#B2B458 #58B2B4 #B458B2
tetradic
#B2B458 #58B488 #5A58B4 #B45884
square
#B2B458 #58B488 #5A58B4 #B45884
split-complementary
#B2B458 #5884B4 #8858B4
monochromatic
#63642D #8D8F40 #B2B458 #C5C782 #D9DAAC

Accessibility & contrast

On white

2.20
#B2B458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B2B458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B458
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B458#FFFFFF#000000##000000
##B2B4581.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4F
Deuteranopia (green-blind)
#C1B05D
Tritanopia (blue-blind)
#BDAA9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b458;
/* rgb */ color: rgb(178, 180, 88);
/* oklch */ color: oklch(74.9% 0.116 110.0);
Tailwind
colors: {
  custom: {
    50: '#cbca8a',
    500: '#b2b458',
    950: '#000000',
  },
}
SCSS
$custom: #b2b458;
$custom-light: #cbca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b458",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 61.304,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74896,
    "c": 0.11568,
    "h": 110
  },
  "luminance": 0.42812
}

Semantic roles & 50–950 ramp

primary
#B2B458
secondary
#A1A0C8
accent
#5ACE5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2B458

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

Preview Lab → · Contrast checker → · Palette generator →

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