#B0B628#B0B628

#B0B628 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.154 H 112.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B0B628
RGBrgb(176, 182, 40)
HSLhsl(63, 64%, 44%)
HSVhsv(63, 78%, 71%)
CMYKcmyk(3.3%, 0%, 78%, 28.6%)
CIE-LABlab(71.45, -18.48, 65.52)
CIE-LCHlch(71.45, 68.08, 105.75°)
OKLaboklab(74.75% -0.058 0.1428)
OKLCHoklch(74.75% 0.154 112.1)
XYZxyz(35.0166, 42.8401, 8.4314)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B628 #2E28B6
analogous
#B67528 #B0B628 #69B628
triadic
#B0B628 #28B0B6 #B628B0
tetradic
#B0B628 #28B675 #2E28B6 #B62869
square
#B0B628 #28B675 #2E28B6 #B62869
split-complementary
#B0B628 #2869B6 #7528B6
monochromatic
#4F5212 #7F841D #B0B628 #D0D645 #DDE177

Accessibility & contrast

On white

2.19
#B0B628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B0B628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B628
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B628#FFFFFF#000000##000000
##B0B6281.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#BCAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b0b628;
/* rgb */ color: rgb(176, 182, 40);
/* oklch */ color: oklch(74.8% 0.154 112.1);
Tailwind
colors: {
  custom: {
    50: '#cbcb6f',
    500: '#b0b628',
    950: '#000000',
  },
}
SCSS
$custom: #b0b628;
$custom-light: #cbcb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b628",
  "rgb": {
    "r": 176,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 62.535,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74752,
    "c": 0.15417,
    "h": 112.1
  },
  "luminance": 0.42839
}

Semantic roles & 50–950 ramp

primary
#B0B628
secondary
#7571C9
accent
#41E748
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B628

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

Preview Lab → · Contrast checker → · Palette generator →

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