#B0B831#B0B831

#B0B831 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.151 H 112.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B0B831
RGBrgb(176, 184, 49)
HSLhsl(64, 58%, 46%)
HSVhsv(64, 73%, 72%)
CMYKcmyk(4.3%, 0%, 73.4%, 27.8%)
CIE-LABlab(72.05, -19.11, 63.19)
CIE-LCHlch(72.05, 66.02, 106.82°)
OKLaboklab(75.25% -0.059 0.1395)
OKLCHoklch(75.25% 0.151 112.9)
XYZxyz(35.6005, 43.7336, 9.4712)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B831 #3931B8
analogous
#B87D31 #B0B831 #6CB831
triadic
#B0B831 #31B0B8 #B831B0
tetradic
#B0B831 #31B87D #3931B8 #B8316C
square
#B0B831 #31B87D #3931B8 #B8316C
split-complementary
#B0B831 #316CB8 #7D31B8
monochromatic
#545717 #828824 #B0B831 #CAD255 #D9DE85

Accessibility & contrast

On white

2.15
#B0B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B0B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B831
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B831#FFFFFF#000000##000000
##B0B8311.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#BCAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b0b831;
/* rgb */ color: rgb(176, 184, 49);
/* oklch */ color: oklch(75.3% 0.151 112.9);
Tailwind
colors: {
  custom: {
    50: '#cbcd73',
    500: '#b0b831',
    950: '#000000',
  },
}
SCSS
$custom: #b0b831;
$custom-light: #cbcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b831",
  "rgb": {
    "r": 176,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 63.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7525,
    "c": 0.15146,
    "h": 112.9
  },
  "luminance": 0.43733
}

Semantic roles & 50–950 ramp

primary
#B0B831
secondary
#817DC8
accent
#47E150
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B831

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

Preview Lab → · Contrast checker → · Palette generator →

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