#B1B140#B1B140

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

Color values

HEX#B1B140
RGBrgb(177, 177, 64)
HSLhsl(60, 47%, 47%)
HSVhsv(60, 64%, 69%)
CMYKcmyk(0%, 0%, 63.8%, 30.6%)
CIE-LABlab(70.29, -14.31, 55.73)
CIE-LCHlch(70.29, 57.54, 104.40°)
OKLaboklab(73.89% -0.0441 0.1262)
OKLCHoklch(73.89% 0.134 109.3)
XYZxyz(34.7801, 41.1625, 10.9625)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B140 #4040B1
analogous
#B17940 #B1B140 #79B140
triadic
#B1B140 #40B1B1 #B140B1
tetradic
#B1B140 #40B179 #4040B1 #B14079
square
#B1B140 #40B179 #4040B1 #B14079
split-complementary
#B1B140 #4079B1 #7940B1
monochromatic
#57571F #848430 #B1B140 #C8C866 #D8D893

Accessibility & contrast

On white

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

On black

9.23
#B1B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B140
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B140#FFFFFF#000000##000000
##B1B1401.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b140;
/* rgb */ color: rgb(177, 177, 64);
/* oklch */ color: oklch(73.9% 0.134 109.3);
Tailwind
colors: {
  custom: {
    50: '#cbc87a',
    500: '#b1b140',
    950: '#000000',
  },
}
SCSS
$custom: #b1b140;
$custom-light: #cbc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b140",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73894,
    "c": 0.13372,
    "h": 109.3
  },
  "luminance": 0.41162
}

Semantic roles & 50–950 ramp

primary
#B1B140
secondary
#8989C3
accent
#51D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B1B140

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

Preview Lab → · Contrast checker → · Palette generator →

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