#B1A462#B1A462

#B1A462 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.088 H 98.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B1A462
RGBrgb(177, 164, 98)
HSLhsl(50, 34%, 54%)
HSVhsv(50, 45%, 69%)
CMYKcmyk(0%, 7.3%, 44.6%, 30.6%)
CIE-LABlab(67.11, -4.66, 35.85)
CIE-LCHlch(67.11, 36.15, 97.41°)
OKLaboklab(71.49% -0.0129 0.0867)
OKLCHoklch(71.49% 0.088 98.5)
XYZxyz(33.6124, 36.7810, 16.8818)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A462 #626FB1
analogous
#B17D62 #B1A462 #97B162
triadic
#B1A462 #62B1A4 #A462B1
tetradic
#B1A462 #62B17D #626FB1 #B16297
square
#B1A462 #62B17D #626FB1 #B16297
split-complementary
#B1A462 #6297B1 #7D62B1
monochromatic
#665E33 #8F8347 #B1A462 #C5BC8B #DAD3B4

Accessibility & contrast

On white

2.51
#B1A462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B1A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A462
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A462#FFFFFF#000000##000000
##B1A4621.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1a462;
/* rgb */ color: rgb(177, 164, 98);
/* oklch */ color: oklch(71.5% 0.088 98.5);
Tailwind
colors: {
  custom: {
    50: '#cabe90',
    500: '#b1a462',
    950: '#000000',
  },
}
SCSS
$custom: #b1a462;
$custom-light: #cabe90;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a462",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 50.127,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71489,
    "c": 0.0877,
    "h": 98.5
  },
  "luminance": 0.3678
}

Semantic roles & 50–950 ramp

primary
#B1A462
secondary
#A7ACC8
accent
#70CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A462

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

Preview Lab → · Contrast checker → · Palette generator →

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