#B1C330#B1C330

#B1C330 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.164 H 116.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#B1C330
RGBrgb(177, 195, 48)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 76%)
CMYKcmyk(9.2%, 0%, 75.4%, 23.5%)
CIE-LABlab(75.20, -24.16, 66.51)
CIE-LCHlch(75.20, 70.76, 109.96°)
OKLaboklab(77.79% -0.0732 0.1463)
OKLCHoklch(77.79% 0.164 116.6)
XYZxyz(38.1811, 48.5912, 10.1634)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C330 #4230C3
analogous
#C38C30 #B1C330 #67C330
triadic
#B1C330 #30B1C3 #C330B1
tetradic
#B1C330 #30C38C #4230C3 #C33067
square
#B1C330 #30C38C #4230C3 #C33067
split-complementary
#B1C330 #3067C3 #8C30C3
monochromatic
#586118 #849224 #B1C330 #C7D65A #D8E28B

Accessibility & contrast

On white

1.96
#B1C330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#B1C330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C330
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C330#FFFFFF#000000##000000
##B1C3301.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90A
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#BCB8A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b1c330;
/* rgb */ color: rgb(177, 195, 48);
/* oklch */ color: oklch(77.8% 0.164 116.6);
Tailwind
colors: {
  custom: {
    50: '#ccd574',
    500: '#b1c330',
    950: '#000000',
  },
}
SCSS
$custom: #b1c330;
$custom-light: #ccd574;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c330",
  "rgb": {
    "r": 177,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 67.347,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77791,
    "c": 0.16357,
    "h": 116.6
  },
  "luminance": 0.48591
}

Semantic roles & 50–950 ramp

primary
#B1C330
secondary
#8B82CC
accent
#44E458
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B1C330

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

Preview Lab → · Contrast checker → · Palette generator →

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