#B1A762#B1A762

#B1A762 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.091 H 101.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B1A762
RGBrgb(177, 167, 98)
HSLhsl(52, 34%, 54%)
HSVhsv(52, 45%, 69%)
CMYKcmyk(0%, 5.6%, 44.6%, 30.6%)
CIE-LABlab(67.92, -6.26, 36.87)
CIE-LCHlch(67.92, 37.40, 99.64°)
OKLaboklab(72.13% -0.0175 0.089)
OKLCHoklch(72.13% 0.091 101.1)
XYZxyz(34.1556, 37.8674, 17.0629)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A762 #626CB1
analogous
#B18062 #B1A762 #94B162
triadic
#B1A762 #62B1A7 #A762B1
tetradic
#B1A762 #62B180 #626CB1 #B16294
square
#B1A762 #62B180 #626CB1 #B16294
split-complementary
#B1A762 #6294B1 #8062B1
monochromatic
#665F33 #8F8647 #B1A762 #C5BE8B #DAD5B4

Accessibility & contrast

On white

2.45
#B1A762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B1A762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A762
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A762#FFFFFF#000000##000000
##B1A7621.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35C
Deuteranopia (green-blind)
#B6A765
Tritanopia (blue-blind)
#BC9E96
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a762;
/* rgb */ color: rgb(177, 167, 98);
/* oklch */ color: oklch(72.1% 0.091 101.1);
Tailwind
colors: {
  custom: {
    50: '#cac190',
    500: '#b1a762',
    950: '#000000',
  },
}
SCSS
$custom: #b1a762;
$custom-light: #cac190;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a762",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 98
  },
  "hsl": {
    "h": 52.405,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.09073,
    "h": 101.1
  },
  "luminance": 0.37866
}

Semantic roles & 50–950 ramp

primary
#B1A762
secondary
#A7ABC8
accent
#6CCA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A762

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

Preview Lab → · Contrast checker → · Palette generator →

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