#B0BA2C#B0BA2C

#B0BA2C is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.7% C 0.156 H 113.7°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B0BA2C
RGBrgb(176, 186, 44)
HSLhsl(64, 62%, 45%)
HSVhsv(64, 76%, 73%)
CMYKcmyk(5.4%, 0%, 76.3%, 27.1%)
CIE-LABlab(72.58, -20.33, 65.33)
CIE-LCHlch(72.58, 68.42, 107.28°)
OKLaboklab(75.67% -0.0628 0.1431)
OKLCHoklch(75.67% 0.156 113.7)
XYZxyz(35.9191, 44.5305, 9.0855)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA2C #362CBA
analogous
#BA7D2C #B0BA2C #69BA2C
triadic
#B0BA2C #2CB0BA #BA2CB0
tetradic
#B0BA2C #2CBA7D #362CBA #BA2C69
square
#B0BA2C #2CBA7D #362CBA #BA2C69
split-complementary
#B0BA2C #2C69BA #7D2CBA
monochromatic
#525715 #818920 #B0BA2C #CCD54E #DAE180

Accessibility & contrast

On white

2.12
#B0BA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#B0BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0BA2C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0BA2C#FFFFFF#000000##000000
##B0BA2C1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B104
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#BCAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0ba2c;
/* rgb */ color: rgb(176, 186, 44);
/* oklch */ color: oklch(75.7% 0.156 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbce71',
    500: '#b0ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba2c;
$custom-light: #cbce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba2c",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 64.225,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75667,
    "c": 0.15632,
    "h": 113.7
  },
  "luminance": 0.4453
}

Semantic roles & 50–950 ramp

primary
#B0BA2C
secondary
#7E78CA
accent
#43E54E
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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