#B0B626#B0B626

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

Color values

HEX#B0B626
RGBrgb(176, 182, 38)
HSLhsl(63, 65%, 43%)
HSVhsv(63, 79%, 71%)
CMYKcmyk(3.3%, 0%, 79.1%, 28.6%)
CIE-LABlab(71.44, -18.56, 66.10)
CIE-LCHlch(71.44, 68.66, 105.68°)
OKLaboklab(74.74% -0.0584 0.1437)
OKLCHoklch(74.74% 0.155 112.1)
XYZxyz(34.9835, 42.8268, 8.2569)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B626 #2C26B6
analogous
#B67426 #B0B626 #68B626
triadic
#B0B626 #26B0B6 #B626B0
tetradic
#B0B626 #26B674 #2C26B6 #B62668
square
#B0B626 #26B674 #2C26B6 #B62668
split-complementary
#B0B626 #2668B6 #7426B6
monochromatic
#4E5111 #7F831B #B0B626 #D1D742 #DDE274

Accessibility & contrast

On white

2.20
#B0B626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B626#FFFFFF#000000##000000
##B0B6261.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b626;
/* rgb */ color: rgb(176, 182, 38);
/* oklch */ color: oklch(74.7% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#cbcb6e',
    500: '#b0b626',
    950: '#000000',
  },
}
SCSS
$custom: #b0b626;
$custom-light: #cbcb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b626",
  "rgb": {
    "r": 176,
    "g": 182,
    "b": 38
  },
  "hsl": {
    "h": 62.5,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.15511,
    "h": 112.1
  },
  "luminance": 0.42826
}

Semantic roles & 50–950 ramp

primary
#B0B626
secondary
#726EC9
accent
#3FE846
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B626

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

Preview Lab → · Contrast checker → · Palette generator →

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