#B0B126#B0B126

#B0B126 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.150 H 110.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B0B126
RGBrgb(176, 177, 38)
HSLhsl(60, 65%, 42%)
HSVhsv(60, 79%, 69%)
CMYKcmyk(0.6%, 0%, 78.5%, 30.6%)
CIE-LABlab(70.05, -16.03, 64.86)
CIE-LCHlch(70.05, 66.81, 103.88°)
OKLaboklab(73.63% -0.0514 0.1411)
OKLCHoklch(73.63% 0.15 110)
XYZxyz(33.9778, 40.8153, 7.9217)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B126 #2726B1
analogous
#B16D26 #B0B126 #6AB126
triadic
#B0B126 #26B0B1 #B126B0
tetradic
#B0B126 #26B16D #2726B1 #B1266A
square
#B0B126 #26B16D #2726B1 #B1266A
split-complementary
#B0B126 #266AB1 #6D26B1
monochromatic
#4C4C10 #7E7F1B #B0B126 #D5D63F #E0E071

Accessibility & contrast

On white

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

On black

9.16
#B0B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B126
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B126#FFFFFF#000000##000000
##B0B1261.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b126;
/* rgb */ color: rgb(176, 177, 38);
/* oklch */ color: oklch(73.6% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#cbc86d',
    500: '#b0b126',
    950: '#000000',
  },
}
SCSS
$custom: #b0b126;
$custom-light: #cbc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b126",
  "rgb": {
    "r": 176,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 60.432,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73629,
    "c": 0.15013,
    "h": 110
  },
  "luminance": 0.40814
}

Semantic roles & 50–950 ramp

primary
#B0B126
secondary
#6C6BC7
accent
#40E841
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B0B126

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

Preview Lab → · Contrast checker → · Palette generator →

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