#B1B830#B1B830

#B1B830 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.152 H 112.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B1B830
RGBrgb(177, 184, 48)
HSLhsl(63, 59%, 45%)
HSVhsv(63, 74%, 72%)
CMYKcmyk(3.8%, 0%, 73.9%, 27.8%)
CIE-LABlab(72.12, -18.73, 63.63)
CIE-LCHlch(72.12, 66.33, 106.40°)
OKLaboklab(75.33% -0.0581 0.1402)
OKLCHoklch(75.33% 0.152 112.5)
XYZxyz(35.8066, 43.8423, 9.3719)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B830 #3730B8
analogous
#B87B30 #B1B830 #6DB830
triadic
#B1B830 #30B1B8 #B830B1
tetradic
#B1B830 #30B87B #3730B8 #B8306D
square
#B1B830 #30B87B #3730B8 #B8306D
split-complementary
#B1B830 #306DB8 #7B30B8
monochromatic
#545717 #828723 #B1B830 #CCD253 #DADF84

Accessibility & contrast

On white

2.15
#B1B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B1B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B830
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B830#FFFFFF#000000##000000
##B1B8301.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#BDAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b830;
/* rgb */ color: rgb(177, 184, 48);
/* oklch */ color: oklch(75.3% 0.152 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd73',
    500: '#b1b830',
    950: '#000000',
  },
}
SCSS
$custom: #b1b830;
$custom-light: #cccd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b830",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 63.088,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75326,
    "c": 0.15177,
    "h": 112.5
  },
  "luminance": 0.43841
}

Semantic roles & 50–950 ramp

primary
#B1B830
secondary
#807CC8
accent
#46E24E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1B830

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

Preview Lab → · Contrast checker → · Palette generator →

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