#B1B124#B1B124

#B1B124 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.151 H 109.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B1B124
RGBrgb(177, 177, 36)
HSLhsl(60, 66%, 42%)
HSVhsv(60, 80%, 69%)
CMYKcmyk(0%, 0%, 79.7%, 30.6%)
CIE-LABlab(70.12, -15.67, 65.54)
CIE-LCHlch(70.12, 67.38, 103.44°)
OKLaboklab(73.71% -0.0506 0.1421)
OKLCHoklch(73.71% 0.151 109.6)
XYZxyz(34.1734, 40.9198, 7.7669)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B124 #2424B1
analogous
#B16B24 #B1B124 #6BB124
triadic
#B1B124 #24B1B1 #B124B1
tetradic
#B1B124 #24B16B #2424B1 #B1246B
square
#B1B124 #24B16B #2424B1 #B1246B
split-complementary
#B1B124 #246BB1 #6B24B1
monochromatic
#4B4B0F #7E7E1A #B1B124 #D7D73B #E1E16E

Accessibility & contrast

On white

2.29
#B1B124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#B1B124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B124
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B124#FFFFFF#000000##000000
##B1B1241.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C1AD31
Tritanopia (blue-blind)
#BEA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b124;
/* rgb */ color: rgb(177, 177, 36);
/* oklch */ color: oklch(73.7% 0.151 109.6);
Tailwind
colors: {
  custom: {
    50: '#ccc86c',
    500: '#b1b124',
    950: '#000000',
  },
}
SCSS
$custom: #b1b124;
$custom-light: #ccc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b124",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73705,
    "c": 0.15082,
    "h": 109.6
  },
  "luminance": 0.40919
}

Semantic roles & 50–950 ramp

primary
#B1B124
secondary
#6969C8
accent
#3FE93F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B1B124

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

Preview Lab → · Contrast checker → · Palette generator →

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