#B2B146#B2B146

#B2B146 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.129 H 108.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B2B146
RGBrgb(178, 177, 70)
HSLhsl(59, 44%, 49%)
HSVhsv(59, 61%, 70%)
CMYKcmyk(0%, 0.6%, 60.7%, 30.2%)
CIE-LABlab(70.42, -13.48, 53.32)
CIE-LCHlch(70.42, 55.00, 104.19°)
OKLaboklab(74.04% -0.0412 0.122)
OKLCHoklch(74.04% 0.129 108.7)
XYZxyz(35.1888, 41.3524, 11.9213)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B146 #4647B2
analogous
#B27B46 #B2B146 #7DB246
triadic
#B2B146 #46B2B1 #B146B2
tetradic
#B2B146 #46B27B #4647B2 #B2467D
square
#B2B146 #46B27B #4647B2 #B2467D
split-complementary
#B2B146 #467DB2 #7B46B2
monochromatic
#5A5A23 #868535 #B2B146 #C6C66F #D8D79B

Accessibility & contrast

On white

2.27
#B2B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B2B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B146
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B146#FFFFFF#000000##000000
##B2B1461.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA39
Deuteranopia (green-blind)
#C0AE4C
Tritanopia (blue-blind)
#BEA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b146;
/* rgb */ color: rgb(178, 177, 70);
/* oklch */ color: oklch(74.0% 0.129 108.7);
Tailwind
colors: {
  custom: {
    50: '#ccc87e',
    500: '#b2b146',
    950: '#000000',
  },
}
SCSS
$custom: #b2b146;
$custom-light: #ccc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b146",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 59.444,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74036,
    "c": 0.12875,
    "h": 108.7
  },
  "luminance": 0.41351
}

Semantic roles & 50–950 ramp

primary
#B2B146
secondary
#9090C4
accent
#56D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B146

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

Preview Lab → · Contrast checker → · Palette generator →

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