#B1B762#B1B762

#B1B762 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.109 H 112.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B1B762
RGBrgb(177, 183, 98)
HSLhsl(64, 37%, 55%)
HSVhsv(64, 46%, 72%)
CMYKcmyk(3.3%, 0%, 46.4%, 28.2%)
CIE-LABlab(72.29, -14.60, 42.26)
CIE-LCHlch(72.29, 44.71, 109.07°)
OKLaboklab(75.61% -0.0414 0.101)
OKLCHoklch(75.61% 0.109 112.3)
XYZxyz(37.2701, 44.0966, 18.1010)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B762 #6862B7
analogous
#B79262 #B1B762 #87B762
triadic
#B1B762 #62B1B7 #B762B1
tetradic
#B1B762 #62B792 #6862B7 #B76287
square
#B1B762 #62B792 #6862B7 #B76287
split-complementary
#B1B762 #6287B7 #9262B7
monochromatic
#696D32 #919745 #B1B762 #C6CA8C #DBDDB6

Accessibility & contrast

On white

2.14
#B1B762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B1B762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B762
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B762#FFFFFF#000000##000000
##B1B7621.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C2B266
Tritanopia (blue-blind)
#BAAEA3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b762;
/* rgb */ color: rgb(177, 183, 98);
/* oklch */ color: oklch(75.6% 0.109 112.3);
Tailwind
colors: {
  custom: {
    50: '#cacc90',
    500: '#b1b762',
    950: '#000000',
  },
}
SCSS
$custom: #b1b762;
$custom-light: #cacc90;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b762",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 64.235,
    "s": 37.118,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75605,
    "c": 0.1092,
    "h": 112.3
  },
  "luminance": 0.44096
}

Semantic roles & 50–950 ramp

primary
#B1B762
secondary
#ABA9CC
accent
#5BCD63
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #B1B762

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

Preview Lab → · Contrast checker → · Palette generator →

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