#B1A262#B1A262

#B1A262 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.086 H 96.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B1A262
RGBrgb(177, 162, 98)
HSLhsl(49, 34%, 54%)
HSVhsv(49, 45%, 69%)
CMYKcmyk(0%, 8.5%, 44.6%, 30.6%)
CIE-LABlab(66.57, -3.59, 35.18)
CIE-LCHlch(66.57, 35.36, 95.83°)
OKLaboklab(71.06% -0.0098 0.0852)
OKLCHoklch(71.06% 0.086 96.6)
XYZxyz(33.2572, 36.0708, 16.7634)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A262 #6271B1
analogous
#B17B62 #B1A262 #99B162
triadic
#B1A262 #62B1A2 #A262B1
tetradic
#B1A262 #62B17B #6271B1 #B16299
square
#B1A262 #62B17B #6271B1 #B16299
split-complementary
#B1A262 #6299B1 #7B62B1
monochromatic
#665C33 #8F8147 #B1A262 #C5BA8B #DAD2B4

Accessibility & contrast

On white

2.56
#B1A262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B1A262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A262
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A262#FFFFFF#000000##000000
##B1A2621.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#B2A464
Tritanopia (blue-blind)
#BC9992
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a262;
/* rgb */ color: rgb(177, 162, 98);
/* oklch */ color: oklch(71.1% 0.086 96.6);
Tailwind
colors: {
  custom: {
    50: '#cabd90',
    500: '#b1a262',
    950: '#000000',
  },
}
SCSS
$custom: #b1a262;
$custom-light: #cabd90;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a262",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 48.608,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71063,
    "c": 0.08579,
    "h": 96.6
  },
  "luminance": 0.3607
}

Semantic roles & 50–950 ramp

primary
#B1A262
secondary
#A7ADC8
accent
#73CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A262

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

Preview Lab → · Contrast checker → · Palette generator →

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