#B0BA2D#B0BA2D

#B0BA2D 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#B0BA2D
RGBrgb(176, 186, 45)
HSLhsl(64, 61%, 45%)
HSVhsv(64, 76%, 73%)
CMYKcmyk(5.4%, 0%, 75.8%, 27.1%)
CIE-LABlab(72.59, -20.28, 65.02)
CIE-LCHlch(72.59, 68.11, 107.33°)
OKLaboklab(75.67% -0.0626 0.1427)
OKLCHoklch(75.67% 0.156 113.7)
XYZxyz(35.9382, 44.5381, 9.1857)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA2D #372DBA
analogous
#BA7D2D #B0BA2D #6ABA2D
triadic
#B0BA2D #2DB0BA #BA2DB0
tetradic
#B0BA2D #2DBA7D #372DBA #BA2D6A
square
#B0BA2D #2DBA7D #372DBA #BA2D6A
split-complementary
#B0BA2D #2D6ABA #7D2DBA
monochromatic
#535715 #818921 #B0BA2D #CBD550 #DAE081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0BA2D#FFFFFF#000000##000000
##B0BA2D1.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)
#C8B108
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#BCAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0ba2d;
/* rgb */ color: rgb(176, 186, 45);
/* oklch */ color: oklch(75.7% 0.156 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbce71',
    500: '#b0ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba2d;
$custom-light: #cbce71;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba2d",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 64.255,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75673,
    "c": 0.15579,
    "h": 113.7
  },
  "luminance": 0.44537
}

Semantic roles & 50–950 ramp

primary
#B0BA2D
secondary
#7F79C9
accent
#44E44F
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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