#B1B028#B1B028

#B1B028 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.148 H 109.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#B1B028
RGBrgb(177, 176, 40)
HSLhsl(60, 63%, 43%)
HSVhsv(60, 77%, 69%)
CMYKcmyk(0%, 0.6%, 77.4%, 30.6%)
CIE-LABlab(69.86, -15.01, 64.13)
CIE-LCHlch(69.86, 65.86, 103.18°)
OKLaboklab(73.5% -0.0484 0.1398)
OKLCHoklch(73.5% 0.148 109.1)
XYZxyz(34.0411, 40.5521, 8.0412)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B028 #2829B1
analogous
#B16B28 #B1B028 #6EB128
triadic
#B1B028 #28B1B0 #B028B1
tetradic
#B1B028 #28B16B #2829B1 #B1286E
square
#B1B028 #28B16B #2829B1 #B1286E
split-complementary
#B1B028 #286EB1 #6B28B1
monochromatic
#4D4D11 #7F7E1D #B1B028 #D4D342 #E0DF74

Accessibility & contrast

On white

2.31
#B1B028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#B1B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B028
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B028#FFFFFF#000000##000000
##B1B0281.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#BEA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b028;
/* rgb */ color: rgb(177, 176, 40);
/* oklch */ color: oklch(73.5% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#ccc76e',
    500: '#b1b028',
    950: '#000000',
  },
}
SCSS
$custom: #b1b028;
$custom-light: #ccc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b028",
  "rgb": {
    "r": 177,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 59.562,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73504,
    "c": 0.14796,
    "h": 109.1
  },
  "luminance": 0.40551
}

Semantic roles & 50–950 ramp

primary
#B1B028
secondary
#6E6FC7
accent
#43E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B028

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

Preview Lab → · Contrast checker → · Palette generator →

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