#B1B225#B1B225

#B1B225 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.151 H 110.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B1B225
RGBrgb(177, 178, 37)
HSLhsl(60, 66%, 42%)
HSVhsv(60, 79%, 70%)
CMYKcmyk(0.6%, 0%, 79.2%, 30.2%)
CIE-LABlab(70.40, -16.14, 65.50)
CIE-LCHlch(70.40, 67.46, 103.84°)
OKLaboklab(73.93% -0.0518 0.1422)
OKLCHoklch(73.93% 0.151 110)
XYZxyz(34.3871, 41.3225, 7.9146)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B225 #2625B2
analogous
#B26D25 #B1B225 #6AB225
triadic
#B1B225 #25B1B2 #B225B1
tetradic
#B1B225 #25B26D #2625B2 #B2256A
square
#B1B225 #25B26D #2625B2 #B2256A
split-complementary
#B1B225 #256AB2 #6D25B2
monochromatic
#4C4D10 #7F7F1A #B1B225 #D6D73D #E0E170

Accessibility & contrast

On white

2.27
#B1B225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B1B225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B225
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B225#FFFFFF#000000##000000
##B1B2251.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C2AE32
Tritanopia (blue-blind)
#BEA698
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b225;
/* rgb */ color: rgb(177, 178, 37);
/* oklch */ color: oklch(73.9% 0.151 110.0);
Tailwind
colors: {
  custom: {
    50: '#ccc86d',
    500: '#b1b225',
    950: '#000000',
  },
}
SCSS
$custom: #b1b225;
$custom-light: #ccc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b225",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 60.426,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73931,
    "c": 0.15135,
    "h": 110
  },
  "luminance": 0.41321
}

Semantic roles & 50–950 ramp

primary
#B1B225
secondary
#6B6BC8
accent
#3FE940
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B1B225

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

Preview Lab → · Contrast checker → · Palette generator →

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