#B0B52B#B0B52B

#B0B52B is a light, vivid yellow. Relative luminance 0.425; 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#B0B52B
RGBrgb(176, 181, 43)
HSLhsl(62, 62%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.8%, 0%, 76.2%, 29%)
CIE-LABlab(71.18, -17.86, 64.36)
CIE-LCHlch(71.18, 66.79, 105.51°)
OKLaboklab(74.54% -0.0561 0.1409)
OKLCHoklch(74.54% 0.152 111.7)
XYZxyz(34.8656, 42.4532, 8.6427)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B52B #302BB5
analogous
#B5752B #B0B52B #6BB52B
triadic
#B0B52B #2BB0B5 #B52BB0
tetradic
#B0B52B #2BB575 #302BB5 #B52B6B
square
#B0B52B #2BB575 #302BB5 #B52B6B
split-complementary
#B0B52B #2B6BB5 #752BB5
monochromatic
#505214 #80841F #B0B52B #CFD449 #DCE07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B52B#FFFFFF#000000##000000
##B0B52B1.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)
#C3AD05
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#BCAA9B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b52b;
/* rgb */ color: rgb(176, 181, 43);
/* oklch */ color: oklch(74.5% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca70',
    500: '#b0b52b',
    950: '#000000',
  },
}
SCSS
$custom: #b0b52b;
$custom-light: #cbca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b52b",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 62.174,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74545,
    "c": 0.15164,
    "h": 111.7
  },
  "luminance": 0.42452
}

Semantic roles & 50–950 ramp

primary
#B0B52B
secondary
#7774C8
accent
#43E549
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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