#B2B141#B2B141

#B2B141 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.133 H 108.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B2B141
RGBrgb(178, 177, 65)
HSLhsl(59, 47%, 48%)
HSVhsv(59, 63%, 70%)
CMYKcmyk(0%, 0.6%, 63.5%, 30.2%)
CIE-LABlab(70.38, -13.82, 55.43)
CIE-LCHlch(70.38, 57.13, 104.00°)
OKLaboklab(73.99% -0.0427 0.1257)
OKLCHoklch(73.99% 0.133 108.8)
XYZxyz(35.0375, 41.2919, 11.1245)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B141 #4142B2
analogous
#B27841 #B2B141 #7AB241
triadic
#B2B141 #41B2B1 #B141B2
tetradic
#B2B141 #41B278 #4142B2 #B2417A
square
#B2B141 #41B278 #4142B2 #B2417A
split-complementary
#B2B141 #417AB2 #7841B2
monochromatic
#585820 #858431 #B2B141 #C8C768 #D8D895

Accessibility & contrast

On white

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

On black

9.26
#B2B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B141
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B141#FFFFFF#000000##000000
##B2B1411.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b141;
/* rgb */ color: rgb(178, 177, 65);
/* oklch */ color: oklch(74.0% 0.133 108.8);
Tailwind
colors: {
  custom: {
    50: '#ccc87b',
    500: '#b2b141',
    950: '#000000',
  },
}
SCSS
$custom: #b2b141;
$custom-light: #ccc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b141",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 59.469,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73989,
    "c": 0.13277,
    "h": 108.8
  },
  "luminance": 0.41291
}

Semantic roles & 50–950 ramp

primary
#B2B141
secondary
#8B8BC4
accent
#53D652
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B141

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

Preview Lab → · Contrast checker → · Palette generator →

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