#B1B224#B1B224

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

Color values

HEX#B1B224
RGBrgb(177, 178, 36)
HSLhsl(60, 66%, 42%)
HSVhsv(60, 80%, 70%)
CMYKcmyk(0.6%, 0%, 79.8%, 30.2%)
CIE-LABlab(70.40, -16.18, 65.78)
CIE-LCHlch(70.40, 67.74, 103.82°)
OKLaboklab(73.93% -0.052 0.1426)
OKLCHoklch(73.93% 0.152 110)
XYZxyz(34.3716, 41.3163, 7.8330)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B224 #2524B2
analogous
#B26C24 #B1B224 #6AB224
triadic
#B1B224 #24B1B2 #B224B1
tetradic
#B1B224 #24B26C #2524B2 #B2246A
square
#B1B224 #24B26C #2524B2 #B2246A
split-complementary
#B1B224 #246AB2 #6C24B2
monochromatic
#4C4C0F #7E7F1A #B1B224 #D6D83C #E1E26F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B224#FFFFFF#000000##000000
##B1B2241.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)
#C2AE31
Tritanopia (blue-blind)
#BEA698
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b224;
/* rgb */ color: rgb(177, 178, 36);
/* oklch */ color: oklch(73.9% 0.152 110.0);
Tailwind
colors: {
  custom: {
    50: '#ccc86d',
    500: '#b1b224',
    950: '#000000',
  },
}
SCSS
$custom: #b1b224;
$custom-light: #ccc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b224",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 36
  },
  "hsl": {
    "h": 60.423,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.73926,
    "c": 0.1518,
    "h": 110
  },
  "luminance": 0.41315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1B224

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

Preview Lab → · Contrast checker → · Palette generator →

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