#B1BA2D#B1BA2D

#B1BA2D is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.155 H 113.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B1BA2D
RGBrgb(177, 186, 45)
HSLhsl(64, 61%, 45%)
HSVhsv(64, 76%, 73%)
CMYKcmyk(4.8%, 0%, 75.8%, 27.1%)
CIE-LABlab(72.66, -19.86, 65.12)
CIE-LCHlch(72.66, 68.08, 106.96°)
OKLaboklab(75.75% -0.0615 0.1428)
OKLCHoklch(75.75% 0.156 113.3)
XYZxyz(36.1652, 44.6552, 9.1963)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BA2D #362DBA
analogous
#BA7D2D #B1BA2D #6ABA2D
triadic
#B1BA2D #2DB1BA #BA2DB1
tetradic
#B1BA2D #2DBA7D #362DBA #BA2D6A
square
#B1BA2D #2DBA7D #362DBA #BA2D6A
split-complementary
#B1BA2D #2D6ABA #7D2DBA
monochromatic
#535715 #828921 #B1BA2D #CCD550 #DAE081

Accessibility & contrast

On white

2.11
#B1BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B1BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BA2D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BA2D#FFFFFF#000000##000000
##B1BA2D1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B107
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#BDAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b1ba2d;
/* rgb */ color: rgb(177, 186, 45);
/* oklch */ color: oklch(75.8% 0.155 113.3);
Tailwind
colors: {
  custom: {
    50: '#ccce71',
    500: '#b1ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b1ba2d;
$custom-light: #ccce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ba2d",
  "rgb": {
    "r": 177,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 63.83,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75754,
    "c": 0.1555,
    "h": 113.3
  },
  "luminance": 0.44654
}

Semantic roles & 50–950 ramp

primary
#B1BA2D
secondary
#7F79C9
accent
#44E44E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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