#B1B330#B1B330

#B1B330 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.147 H 110.4°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B1B330
RGBrgb(177, 179, 48)
HSLhsl(61, 58%, 45%)
HSVhsv(61, 73%, 70%)
CMYKcmyk(1.1%, 0%, 73.2%, 29.8%)
CIE-LABlab(70.73, -16.20, 62.32)
CIE-LCHlch(70.73, 64.39, 104.57°)
OKLaboklab(74.22% -0.051 0.1374)
OKLCHoklch(74.22% 0.147 110.4)
XYZxyz(34.7863, 41.8017, 9.0318)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B330 #3230B3
analogous
#B37430 #B1B330 #70B330
triadic
#B1B330 #30B1B3 #B330B1
tetradic
#B1B330 #30B374 #3230B3 #B33070
square
#B1B330 #30B374 #3230B3 #B33070
split-complementary
#B1B330 #3070B3 #7430B3
monochromatic
#525216 #818323 #B1B330 #CED050 #DCDD80

Accessibility & contrast

On white

2.24
#B1B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#B1B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B330
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B330#FFFFFF#000000##000000
##B1B3301.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB15
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b330;
/* rgb */ color: rgb(177, 179, 48);
/* oklch */ color: oklch(74.2% 0.147 110.4);
Tailwind
colors: {
  custom: {
    50: '#ccc972',
    500: '#b1b330',
    950: '#000000',
  },
}
SCSS
$custom: #b1b330;
$custom-light: #ccc972;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b330",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 60.916,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74215,
    "c": 0.14661,
    "h": 110.4
  },
  "luminance": 0.41801
}

Semantic roles & 50–950 ramp

primary
#B1B330
secondary
#7A79C6
accent
#47E149
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B330

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

Preview Lab → · Contrast checker → · Palette generator →

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