#B1B142#B1B142

#B1B142 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.132 H 109.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B1B142
RGBrgb(177, 177, 66)
HSLhsl(60, 46%, 48%)
HSVhsv(60, 63%, 69%)
CMYKcmyk(0%, 0%, 62.7%, 30.6%)
CIE-LABlab(70.31, -14.18, 54.91)
CIE-LCHlch(70.31, 56.71, 104.48°)
OKLaboklab(73.91% -0.0435 0.1248)
OKLCHoklch(73.91% 0.132 109.2)
XYZxyz(34.8381, 41.1857, 11.2677)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B142 #4242B1
analogous
#B17942 #B1B142 #79B142
triadic
#B1B142 #42B1B1 #B142B1
tetradic
#B1B142 #42B179 #4242B1 #B14279
square
#B1B142 #42B179 #4242B1 #B14279
split-complementary
#B1B142 #4279B1 #7942B1
monochromatic
#585821 #848431 #B1B142 #C7C769 #D8D896

Accessibility & contrast

On white

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

On black

9.24
#B1B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B142
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B142#FFFFFF#000000##000000
##B1B1421.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C0AE49
Tritanopia (blue-blind)
#BDA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b142;
/* rgb */ color: rgb(177, 177, 66);
/* oklch */ color: oklch(73.9% 0.132 109.2);
Tailwind
colors: {
  custom: {
    50: '#cbc87c',
    500: '#b1b142',
    950: '#000000',
  },
}
SCSS
$custom: #b1b142;
$custom-light: #cbc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b142",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73913,
    "c": 0.13216,
    "h": 109.2
  },
  "luminance": 0.41185
}

Semantic roles & 50–950 ramp

primary
#B1B142
secondary
#8B8BC3
accent
#52D552
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B1B142

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

Preview Lab → · Contrast checker → · Palette generator →

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