#B0B52C#B0B52C

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

Color values

HEX#B0B52C
RGBrgb(176, 181, 44)
HSLhsl(62, 61%, 44%)
HSVhsv(62, 76%, 71%)
CMYKcmyk(2.8%, 0%, 75.7%, 29%)
CIE-LABlab(71.19, -17.82, 64.05)
CIE-LCHlch(71.19, 66.48, 105.55°)
OKLaboklab(74.55% -0.0559 0.1404)
OKLCHoklch(74.55% 0.151 111.7)
XYZxyz(34.8842, 42.4606, 8.7405)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B52C #312CB5
analogous
#B5762C #B0B52C #6CB52C
triadic
#B0B52C #2CB0B5 #B52CB0
tetradic
#B0B52C #2CB576 #312CB5 #B52C6C
square
#B0B52C #2CB576 #312CB5 #B52C6C
split-complementary
#B0B52C #2C6CB5 #762CB5
monochromatic
#505314 #808420 #B0B52C #CED34B #DCDF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0B52C#FFFFFF#000000##000000
##B0B52C1.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)
#C3AD08
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#BCAA9B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b0b52c;
/* rgb */ color: rgb(176, 181, 44);
/* oklch */ color: oklch(74.6% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca70',
    500: '#b0b52c',
    950: '#000000',
  },
}
SCSS
$custom: #b0b52c;
$custom-light: #cbca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b52c",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 62.19,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7455,
    "c": 0.15111,
    "h": 111.7
  },
  "luminance": 0.4246
}

Semantic roles & 50–950 ramp

primary
#B0B52C
secondary
#7875C8
accent
#44E44A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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