#B0BA2F#B0BA2F

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

Color values

HEX#B0BA2F
RGBrgb(176, 186, 47)
HSLhsl(64, 60%, 46%)
HSVhsv(64, 75%, 73%)
CMYKcmyk(5.4%, 0%, 74.7%, 27.1%)
CIE-LABlab(72.60, -20.20, 64.38)
CIE-LCHlch(72.60, 67.47, 107.42°)
OKLaboklab(75.69% -0.0622 0.1417)
OKLCHoklch(75.69% 0.155 113.7)
XYZxyz(35.9776, 44.5539, 9.3933)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA2F #392FBA
analogous
#BA7F2F #B0BA2F #6ABA2F
triadic
#B0BA2F #2FB0BA #BA2FB0
tetradic
#B0BA2F #2FBA7F #392FBA #BA2F6A
square
#B0BA2F #2FBA7F #392FBA #BA2F6A
split-complementary
#B0BA2F #2F6ABA #7F2FBA
monochromatic
#545816 #828923 #B0BA2F #CAD353 #D9E084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0BA2F#FFFFFF#000000##000000
##B0BA2F1.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)
#C8B10F
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#BCAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0ba2f;
/* rgb */ color: rgb(176, 186, 47);
/* oklch */ color: oklch(75.7% 0.155 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbce72',
    500: '#b0ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba2f;
$custom-light: #cbce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba2f",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 64.317,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75685,
    "c": 0.15472,
    "h": 113.7
  },
  "luminance": 0.44553
}

Semantic roles & 50–950 ramp

primary
#B0BA2F
secondary
#817CC9
accent
#45E350
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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