#B1AB3E#B1AB3E

#B1AB3E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.129 H 106.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B1AB3E
RGBrgb(177, 171, 62)
HSLhsl(57, 48%, 47%)
HSVhsv(57, 65%, 69%)
CMYKcmyk(0%, 3.4%, 65%, 30.6%)
CIE-LABlab(68.62, -11.33, 54.83)
CIE-LCHlch(68.62, 55.98, 101.68°)
OKLaboklab(72.56% -0.0359 0.124)
OKLCHoklch(72.56% 0.129 106.2)
XYZxyz(33.5651, 38.8219, 10.2818)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB3E #3E44B1
analogous
#B1723E #B1AB3E #7DB13E
triadic
#B1AB3E #3EB1AB #AB3EB1
tetradic
#B1AB3E #3EB172 #3E44B1 #B13E7D
square
#B1AB3E #3EB172 #3E44B1 #B13E7D
split-complementary
#B1AB3E #3E7DB1 #723EB1
monochromatic
#56531E #847F2E #B1AB3E #C9C364 #D8D591

Accessibility & contrast

On white

2.40
#B1AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B1AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB3E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB3E#FFFFFF#000000##000000
##B1AB3E1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BCA945
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1ab3e;
/* rgb */ color: rgb(177, 171, 62);
/* oklch */ color: oklch(72.6% 0.129 106.2);
Tailwind
colors: {
  custom: {
    50: '#cbc379',
    500: '#b1ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab3e;
$custom-light: #cbc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab3e",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 56.87,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7256,
    "c": 0.12911,
    "h": 106.2
  },
  "luminance": 0.38821
}

Semantic roles & 50–950 ramp

primary
#B1AB3E
secondary
#878AC4
accent
#57D850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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