#B0BA40#B0BA40

#B0BA40 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.144 H 113.8°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B0BA40
RGBrgb(176, 186, 64)
HSLhsl(65, 49%, 49%)
HSVhsv(65, 66%, 73%)
CMYKcmyk(5.4%, 0%, 65.6%, 27.1%)
CIE-LABlab(72.71, -19.29, 58.23)
CIE-LCHlch(72.71, 61.34, 108.33°)
OKLaboklab(75.81% -0.0581 0.1315)
OKLCHoklch(75.81% 0.144 113.8)
XYZxyz(36.3898, 44.7188, 11.5641)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA40 #4A40BA
analogous
#BA8740 #B0BA40 #73BA40
triadic
#B0BA40 #40B0BA #BA40B0
tetradic
#B0BA40 #40BA87 #4A40BA #BA4073
square
#B0BA40 #40BA87 #4A40BA #BA4073
split-complementary
#B0BA40 #4073BA #8740BA
monochromatic
#5A5F21 #858C30 #B0BA40 #C4CC6B #D6DC99

Accessibility & contrast

On white

2.11
#B0BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#B0BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0BA40
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0BA40#FFFFFF#000000##000000
##B0BA401.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C7B448
Tritanopia (blue-blind)
#BBAFA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0ba40;
/* rgb */ color: rgb(176, 186, 64);
/* oklch */ color: oklch(75.8% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#cbce7b',
    500: '#b0ba40',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba40;
$custom-light: #cbce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba40",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 64.918,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75807,
    "c": 0.14377,
    "h": 113.8
  },
  "luminance": 0.44718
}

Semantic roles & 50–950 ramp

primary
#B0BA40
secondary
#938EC8
accent
#4FD85B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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