#B1AB2D#B1AB2D

#B1AB2D is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.4% C 0.141 H 106.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B1AB2D
RGBrgb(177, 171, 45)
HSLhsl(57, 59%, 44%)
HSVhsv(57, 75%, 69%)
CMYKcmyk(0%, 3.4%, 74.6%, 30.6%)
CIE-LABlab(68.51, -12.23, 61.25)
CIE-LCHlch(68.51, 62.46, 101.29°)
OKLaboklab(72.43% -0.0402 0.1346)
OKLCHoklch(72.43% 0.141 106.6)
XYZxyz(33.1694, 38.6636, 8.1977)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AB2D #2D33B1
analogous
#B1692D #B1AB2D #75B12D
triadic
#B1AB2D #2DB1AB #AB2DB1
tetradic
#B1AB2D #2DB169 #2D33B1 #B12D75
square
#B1AB2D #2DB169 #2D33B1 #B12D75
split-complementary
#B1AB2D #2D75B1 #692DB1
monochromatic
#4F4D14 #807C21 #B1AB2D #D1CB4A #DDD97B

Accessibility & contrast

On white

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

On black

8.73
#B1AB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AB2D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AB2D#FFFFFF#000000##000000
##B1AB2D1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA413
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b1ab2d;
/* rgb */ color: rgb(177, 171, 45);
/* oklch */ color: oklch(72.4% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#ccc370',
    500: '#b1ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #b1ab2d;
$custom-light: #ccc370;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ab2d",
  "rgb": {
    "r": 177,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 57.273,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72431,
    "c": 0.1405,
    "h": 106.6
  },
  "luminance": 0.38662
}

Semantic roles & 50–950 ramp

primary
#B1AB2D
secondary
#7478C6
accent
#4CE345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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