#B0BA31#B0BA31

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

Color values

HEX#B0BA31
RGBrgb(176, 186, 49)
HSLhsl(64, 58%, 46%)
HSVhsv(64, 74%, 73%)
CMYKcmyk(5.4%, 0%, 73.7%, 27.1%)
CIE-LABlab(72.61, -20.10, 63.72)
CIE-LCHlch(72.61, 66.82, 107.51°)
OKLaboklab(75.7% -0.0618 0.1406)
OKLCHoklch(75.7% 0.154 113.7)
XYZxyz(36.0189, 44.5704, 9.6107)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BA31 #3B31BA
analogous
#BA7F31 #B0BA31 #6BBA31
triadic
#B0BA31 #31B0BA #BA31B0
tetradic
#B0BA31 #31BA7F #3B31BA #BA316B
square
#B0BA31 #31BA7F #3B31BA #BA316B
split-complementary
#B0BA31 #316BBA #7F31BA
monochromatic
#545917 #828A24 #B0BA31 #C9D256 #D9DF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B0BA31#FFFFFF#000000##000000
##B0BA311.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)
#C8B114
Deuteranopia (green-blind)
#C8B33C
Tritanopia (blue-blind)
#BCAFA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0ba31;
/* rgb */ color: rgb(176, 186, 49);
/* oklch */ color: oklch(75.7% 0.154 113.7);
Tailwind
colors: {
  custom: {
    50: '#cbce73',
    500: '#b0ba31',
    950: '#000000',
  },
}
SCSS
$custom: #b0ba31;
$custom-light: #cbce73;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ba31",
  "rgb": {
    "r": 176,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 64.38,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75697,
    "c": 0.15359,
    "h": 113.7
  },
  "luminance": 0.4457
}

Semantic roles & 50–950 ramp

primary
#B0BA31
secondary
#837EC9
accent
#46E252
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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