#B1A662#B1A662

#B1A662 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.090 H 100.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B1A662
RGBrgb(177, 166, 98)
HSLhsl(52, 34%, 54%)
HSVhsv(52, 45%, 69%)
CMYKcmyk(0%, 6.2%, 44.6%, 30.6%)
CIE-LABlab(67.65, -5.73, 36.53)
CIE-LCHlch(67.65, 36.98, 98.91°)
OKLaboklab(71.92% -0.016 0.0883)
OKLCHoklch(71.92% 0.09 100.3)
XYZxyz(33.9731, 37.5025, 17.0020)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A662 #626DB1
analogous
#B17F62 #B1A662 #95B162
triadic
#B1A662 #62B1A6 #A662B1
tetradic
#B1A662 #62B17F #626DB1 #B16295
square
#B1A662 #62B17F #626DB1 #B16295
split-complementary
#B1A662 #6295B1 #7F62B1
monochromatic
#665F33 #8F8547 #B1A662 #C5BD8B #DAD4B4

Accessibility & contrast

On white

2.47
#B1A662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B1A662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A662
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A662#FFFFFF#000000##000000
##B1A6621.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A25D
Deuteranopia (green-blind)
#B5A765
Tritanopia (blue-blind)
#BC9D96
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a662;
/* rgb */ color: rgb(177, 166, 98);
/* oklch */ color: oklch(71.9% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#cac090',
    500: '#b1a662',
    950: '#000000',
  },
}
SCSS
$custom: #b1a662;
$custom-light: #cac090;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a662",
  "rgb": {
    "r": 177,
    "g": 166,
    "b": 98
  },
  "hsl": {
    "h": 51.646,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71916,
    "c": 0.0897,
    "h": 100.3
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1A662

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

Preview Lab → · Contrast checker → · Palette generator →

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