#B1B730#B1B730

#B1B730 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.151 H 112.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B1B730
RGBrgb(177, 183, 48)
HSLhsl(63, 58%, 45%)
HSVhsv(63, 74%, 72%)
CMYKcmyk(3.3%, 0%, 73.8%, 28.2%)
CIE-LABlab(71.84, -18.22, 63.37)
CIE-LCHlch(71.84, 65.94, 106.04°)
OKLaboklab(75.1% -0.0567 0.1397)
OKLCHoklch(75.1% 0.151 112.1)
XYZxyz(35.5996, 43.4284, 9.3029)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B730 #3630B7
analogous
#B77A30 #B1B730 #6DB730
triadic
#B1B730 #30B1B7 #B730B1
tetradic
#B1B730 #30B77A #3630B7 #B7306D
square
#B1B730 #30B77A #3630B7 #B7306D
split-complementary
#B1B730 #306DB7 #7A30B7
monochromatic
#535617 #828723 #B1B730 #CCD252 #DADE83

Accessibility & contrast

On white

2.17
#B1B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#B1B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B730
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B730#FFFFFF#000000##000000
##B1B7301.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#BDAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b730;
/* rgb */ color: rgb(177, 183, 48);
/* oklch */ color: oklch(75.1% 0.151 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc73',
    500: '#b1b730',
    950: '#000000',
  },
}
SCSS
$custom: #b1b730;
$custom-light: #cccc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b730",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 62.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75103,
    "c": 0.15072,
    "h": 112.1
  },
  "luminance": 0.43427
}

Semantic roles & 50–950 ramp

primary
#B1B730
secondary
#7F7BC8
accent
#46E24D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1B730

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

Preview Lab → · Contrast checker → · Palette generator →

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