#B1B125#B1B125

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

Color values

HEX#B1B125
RGBrgb(177, 177, 37)
HSLhsl(60, 65%, 42%)
HSVhsv(60, 79%, 69%)
CMYKcmyk(0%, 0%, 79.1%, 30.6%)
CIE-LABlab(70.12, -15.63, 65.25)
CIE-LCHlch(70.12, 67.10, 103.47°)
OKLaboklab(73.71% -0.0504 0.1417)
OKLCHoklch(73.71% 0.15 109.6)
XYZxyz(34.1888, 40.9260, 7.8485)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B125 #2525B1
analogous
#B16B25 #B1B125 #6BB125
triadic
#B1B125 #25B1B1 #B125B1
tetradic
#B1B125 #25B16B #2525B1 #B1256B
square
#B1B125 #25B16B #2525B1 #B1256B
split-complementary
#B1B125 #256BB1 #6B25B1
monochromatic
#4C4C10 #7E7E1A #B1B125 #D6D63D #E1E16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B125#FFFFFF#000000##000000
##B1B1251.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)
#C1AD32
Tritanopia (blue-blind)
#BEA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b125;
/* rgb */ color: rgb(177, 177, 37);
/* oklch */ color: oklch(73.7% 0.150 109.6);
Tailwind
colors: {
  custom: {
    50: '#ccc86d',
    500: '#b1b125',
    950: '#000000',
  },
}
SCSS
$custom: #b1b125;
$custom-light: #ccc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b125",
  "rgb": {
    "r": 177,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.73709,
    "c": 0.15037,
    "h": 109.6
  },
  "luminance": 0.40925
}

Semantic roles & 50–950 ramp

primary
#B1B125
secondary
#6A6AC8
accent
#3FE83F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B1B125

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

Preview Lab → · Contrast checker → · Palette generator →

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