#B0B828#B0B828

#B0B828 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.156 H 112.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B0B828
RGBrgb(176, 184, 40)
HSLhsl(63, 64%, 44%)
HSVhsv(63, 78%, 72%)
CMYKcmyk(4.3%, 0%, 78.3%, 27.8%)
CIE-LABlab(72.00, -19.49, 66.02)
CIE-LCHlch(72.00, 68.84, 106.44°)
OKLaboklab(75.2% -0.0608 0.1439)
OKLCHoklch(75.2% 0.156 112.9)
XYZxyz(35.4292, 43.6651, 8.5690)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B828 #3028B8
analogous
#B87828 #B0B828 #68B828
triadic
#B0B828 #28B0B8 #B828B0
tetradic
#B0B828 #28B878 #3028B8 #B82868
square
#B0B828 #28B878 #3028B8 #B82868
split-complementary
#B0B828 #2868B8 #7828B8
monochromatic
#505312 #80861D #B0B828 #CFD746 #DCE279

Accessibility & contrast

On white

2.16
#B0B828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B0B828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B828
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B828#FFFFFF#000000##000000
##B0B8281.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C6B235
Tritanopia (blue-blind)
#BCAD9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b0b828;
/* rgb */ color: rgb(176, 184, 40);
/* oklch */ color: oklch(75.2% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#cbcd6f',
    500: '#b0b828',
    950: '#000000',
  },
}
SCSS
$custom: #b0b828;
$custom-light: #cbcd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b828",
  "rgb": {
    "r": 176,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 63.333,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75198,
    "c": 0.15622,
    "h": 112.9
  },
  "luminance": 0.43664
}

Semantic roles & 50–950 ramp

primary
#B0B828
secondary
#7772CA
accent
#41E74A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B828

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

Preview Lab → · Contrast checker → · Palette generator →

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