#B0B52A#B0B52A

#B0B52A is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.152 H 111.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B0B52A
RGBrgb(176, 181, 42)
HSLhsl(62, 62%, 44%)
HSVhsv(62, 77%, 71%)
CMYKcmyk(2.8%, 0%, 76.8%, 29%)
CIE-LABlab(71.18, -17.90, 64.67)
CIE-LCHlch(71.18, 67.10, 105.47°)
OKLaboklab(74.54% -0.0563 0.1414)
OKLCHoklch(74.54% 0.152 111.7)
XYZxyz(34.8475, 42.4459, 8.5473)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B52A #2F2AB5
analogous
#B5742A #B0B52A #6AB52A
triadic
#B0B52A #2AB0B5 #B52AB0
tetradic
#B0B52A #2AB574 #2F2AB5 #B52A6A
square
#B0B52A #2AB574 #2F2AB5 #B52A6A
split-complementary
#B0B52A #2A6AB5 #742AB5
monochromatic
#4F5213 #80831E #B0B52A #CFD448 #DCE079

Accessibility & contrast

On white

2.21
#B0B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B0B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B52A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B52A#FFFFFF#000000##000000
##B0B52A1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD01
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#BCAA9B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b52a;
/* rgb */ color: rgb(176, 181, 42);
/* oklch */ color: oklch(74.5% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca6f',
    500: '#b0b52a',
    950: '#000000',
  },
}
SCSS
$custom: #b0b52a;
$custom-light: #cbca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b52a",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 62.158,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.15215,
    "h": 111.7
  },
  "luminance": 0.42445
}

Semantic roles & 50–950 ramp

primary
#B0B52A
secondary
#7673C8
accent
#42E548
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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