#B1B62A#B1B62A

#B1B62A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.153 H 111.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B1B62A
RGBrgb(177, 182, 42)
HSLhsl(62, 63%, 44%)
HSVhsv(62, 77%, 71%)
CMYKcmyk(2.7%, 0%, 76.9%, 28.6%)
CIE-LABlab(71.54, -17.98, 65.03)
CIE-LCHlch(71.54, 67.47, 105.45°)
OKLaboklab(74.85% -0.0565 0.1421)
OKLCHoklch(74.85% 0.153 111.7)
XYZxyz(35.2785, 42.9711, 8.6259)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B62A #2F2AB6
analogous
#B6752A #B1B62A #6BB62A
triadic
#B1B62A #2AB1B6 #B62AB1
tetradic
#B1B62A #2AB675 #2F2AB6 #B62A6B
square
#B1B62A #2AB675 #2F2AB6 #B62A6B
split-complementary
#B1B62A #2A6BB6 #752AB6
monochromatic
#505313 #81841F #B1B62A #D0D548 #DDE07A

Accessibility & contrast

On white

2.19
#B1B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B1B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B62A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B62A#FFFFFF#000000##000000
##B1B62A1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b62a;
/* rgb */ color: rgb(177, 182, 42);
/* oklch */ color: oklch(74.8% 0.153 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccb70',
    500: '#b1b62a',
    950: '#000000',
  },
}
SCSS
$custom: #b1b62a;
$custom-light: #cccb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b62a",
  "rgb": {
    "r": 177,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 62.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74845,
    "c": 0.15292,
    "h": 111.7
  },
  "luminance": 0.4297
}

Semantic roles & 50–950 ramp

primary
#B1B62A
secondary
#7673C8
accent
#42E648
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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