#B1A362#B1A362

#B1A362 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.087 H 97.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B1A362
RGBrgb(177, 163, 98)
HSLhsl(49, 34%, 54%)
HSVhsv(49, 45%, 69%)
CMYKcmyk(0%, 7.9%, 44.6%, 30.6%)
CIE-LABlab(66.84, -4.13, 35.51)
CIE-LCHlch(66.84, 35.75, 96.63°)
OKLaboklab(71.28% -0.0113 0.086)
OKLCHoklch(71.28% 0.087 97.5)
XYZxyz(33.4341, 36.4245, 16.8224)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A362 #6270B1
analogous
#B17C62 #B1A362 #98B162
triadic
#B1A362 #62B1A3 #A362B1
tetradic
#B1A362 #62B17C #6270B1 #B16298
square
#B1A362 #62B17C #6270B1 #B16298
split-complementary
#B1A362 #6298B1 #7C62B1
monochromatic
#665D33 #8F8247 #B1A362 #C5BB8B #DAD3B4

Accessibility & contrast

On white

2.53
#B1A362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B1A362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A362
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A362#FFFFFF#000000##000000
##B1A3621.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#BC9A93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a362;
/* rgb */ color: rgb(177, 163, 98);
/* oklch */ color: oklch(71.3% 0.087 97.5);
Tailwind
colors: {
  custom: {
    50: '#cabe90',
    500: '#b1a362',
    950: '#000000',
  },
}
SCSS
$custom: #b1a362;
$custom-light: #cabe90;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a362",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 98
  },
  "hsl": {
    "h": 49.367,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71276,
    "c": 0.08673,
    "h": 97.5
  },
  "luminance": 0.36423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1A362

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

Preview Lab → · Contrast checker → · Palette generator →

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