#B1B138#B1B138

#B1B138 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.8% C 0.140 H 109.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B1B138
RGBrgb(177, 177, 56)
HSLhsl(60, 52%, 46%)
HSVhsv(60, 68%, 69%)
CMYKcmyk(0%, 0%, 68.4%, 30.6%)
CIE-LABlab(70.23, -14.78, 58.90)
CIE-LCHlch(70.23, 60.72, 104.09°)
OKLaboklab(73.83% -0.0463 0.1316)
OKLCHoklch(73.83% 0.14 109.4)
XYZxyz(34.5686, 41.0779, 9.8485)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B138 #3838B1
analogous
#B17438 #B1B138 #74B138
triadic
#B1B138 #38B1B1 #B138B1
tetradic
#B1B138 #38B174 #3838B1 #B13874
square
#B1B138 #38B174 #3838B1 #B13874
split-complementary
#B1B138 #3874B1 #7438B1
monochromatic
#54541B #838329 #B1B138 #CBCB5B #DADA8A

Accessibility & contrast

On white

2.28
#B1B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B1B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B138
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B138#FFFFFF#000000##000000
##B1B1381.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#BDA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b138;
/* rgb */ color: rgb(177, 177, 56);
/* oklch */ color: oklch(73.8% 0.140 109.4);
Tailwind
colors: {
  custom: {
    50: '#ccc876',
    500: '#b1b138',
    950: '#000000',
  },
}
SCSS
$custom: #b1b138;
$custom-light: #ccc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b138",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.13952,
    "h": 109.4
  },
  "luminance": 0.41077
}

Semantic roles & 50–950 ramp

primary
#B1B138
secondary
#8181C4
accent
#4CDB4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B138

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

Preview Lab → · Contrast checker → · Palette generator →

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