#B0B728#B0B728

#B0B728 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.155 H 112.5°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#B0B728
RGBrgb(176, 183, 40)
HSLhsl(63, 64%, 44%)
HSVhsv(63, 78%, 72%)
CMYKcmyk(3.8%, 0%, 78.1%, 28.2%)
CIE-LABlab(71.73, -18.99, 65.77)
CIE-LCHlch(71.73, 68.46, 106.10°)
OKLaboklab(74.98% -0.0594 0.1434)
OKLCHoklch(74.98% 0.155 112.5)
XYZxyz(35.2222, 43.2511, 8.5000)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B728 #2F28B7
analogous
#B77628 #B0B728 #68B728
triadic
#B0B728 #28B0B7 #B728B0
tetradic
#B0B728 #28B776 #2F28B7 #B72868
square
#B0B728 #28B776 #2F28B7 #B72868
split-complementary
#B0B728 #2868B7 #7628B7
monochromatic
#4F5312 #80851D #B0B728 #CFD646 #DCE178

Accessibility & contrast

On white

2.18
#B0B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B0B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B728
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B728#FFFFFF#000000##000000
##B0B7281.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C6B135
Tritanopia (blue-blind)
#BCAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b0b728;
/* rgb */ color: rgb(176, 183, 40);
/* oklch */ color: oklch(75.0% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#cbcc6f',
    500: '#b0b728',
    950: '#000000',
  },
}
SCSS
$custom: #b0b728;
$custom-light: #cbcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b728",
  "rgb": {
    "r": 176,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 62.937,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74975,
    "c": 0.1552,
    "h": 112.5
  },
  "luminance": 0.4325
}

Semantic roles & 50–950 ramp

primary
#B0B728
secondary
#7672C9
accent
#41E749
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B728

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

Preview Lab → · Contrast checker → · Palette generator →

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