#B2B142#B2B142

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

Color values

HEX#B2B142
RGBrgb(178, 177, 66)
HSLhsl(59, 46%, 48%)
HSVhsv(59, 63%, 70%)
CMYKcmyk(0%, 0.6%, 62.9%, 30.2%)
CIE-LABlab(70.39, -13.75, 55.02)
CIE-LCHlch(70.39, 56.71, 104.03°)
OKLaboklab(74% -0.0424 0.125)
OKLCHoklch(74% 0.132 108.7)
XYZxyz(35.0667, 41.3036, 11.2784)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B142 #4243B2
analogous
#B27942 #B2B142 #7BB242
triadic
#B2B142 #42B2B1 #B142B2
tetradic
#B2B142 #42B279 #4243B2 #B2427B
square
#B2B142 #42B279 #4243B2 #B2427B
split-complementary
#B2B142 #427BB2 #7942B2
monochromatic
#595821 #858531 #B2B142 #C8C76A #D8D896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B142#FFFFFF#000000##000000
##B2B1421.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)
#BFAA34
Deuteranopia (green-blind)
#C0AE49
Tritanopia (blue-blind)
#BEA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b142;
/* rgb */ color: rgb(178, 177, 66);
/* oklch */ color: oklch(74.0% 0.132 108.7);
Tailwind
colors: {
  custom: {
    50: '#ccc87c',
    500: '#b2b142',
    950: '#000000',
  },
}
SCSS
$custom: #b2b142;
$custom-light: #ccc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b142",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 59.464,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73998,
    "c": 0.13199,
    "h": 108.7
  },
  "luminance": 0.41303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2B142

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

Preview Lab → · Contrast checker → · Palette generator →

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