#B0B931#B0B931

#B0B931 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.153 H 113.3°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B0B931
RGBrgb(176, 185, 49)
HSLhsl(64, 58%, 46%)
HSVhsv(64, 74%, 73%)
CMYKcmyk(4.9%, 0%, 73.5%, 27.5%)
CIE-LABlab(72.33, -19.61, 63.46)
CIE-LCHlch(72.33, 66.42, 107.17°)
OKLaboklab(75.47% -0.0604 0.1401)
OKLCHoklch(75.47% 0.153 113.3)
XYZxyz(35.8089, 44.1506, 9.5407)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B931 #3A31B9
analogous
#B97E31 #B0B931 #6CB931
triadic
#B0B931 #31B0B9 #B931B0
tetradic
#B0B931 #31B97E #3A31B9 #B9316C
square
#B0B931 #31B97E #3A31B9 #B9316C
split-complementary
#B0B931 #316CB9 #7E31B9
monochromatic
#545817 #828924 #B0B931 #CAD255 #D9DF86

Accessibility & contrast

On white

2.14
#B0B931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B0B931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B931
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B931#FFFFFF#000000##000000
##B0B9311.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B015
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#BCAE9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b0b931;
/* rgb */ color: rgb(176, 185, 49);
/* oklch */ color: oklch(75.5% 0.153 113.3);
Tailwind
colors: {
  custom: {
    50: '#cbcd73',
    500: '#b0b931',
    950: '#000000',
  },
}
SCSS
$custom: #b0b931;
$custom-light: #cbcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b931",
  "rgb": {
    "r": 176,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 63.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75473,
    "c": 0.15252,
    "h": 113.3
  },
  "luminance": 0.4415
}

Semantic roles & 50–950 ramp

primary
#B0B931
secondary
#827DC8
accent
#46E151
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B931

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

Preview Lab → · Contrast checker → · Palette generator →

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