#B0B031#B0B031

#B0B031 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.143 H 109.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B0B031
RGBrgb(176, 176, 49)
HSLhsl(60, 56%, 44%)
HSVhsv(60, 72%, 69%)
CMYKcmyk(0%, 0%, 72.2%, 31%)
CIE-LABlab(69.83, -15.06, 61.07)
CIE-LCHlch(69.83, 62.90, 103.85°)
OKLaboklab(73.47% -0.0477 0.135)
OKLCHoklch(73.47% 0.143 109.5)
XYZxyz(33.9854, 40.5035, 8.9329)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B031 #3131B0
analogous
#B07131 #B0B031 #71B031
triadic
#B0B031 #31B0B0 #B031B0
tetradic
#B0B031 #31B071 #3131B0 #B03171
square
#B0B031 #31B071 #3131B0 #B03171
split-complementary
#B0B031 #3171B0 #7131B0
monochromatic
#505016 #808024 #B0B031 #CECE50 #DCDC80

Accessibility & contrast

On white

2.31
#B0B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#B0B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B031
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B031#FFFFFF#000000##000000
##B0B0311.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#BDA597
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b0b031;
/* rgb */ color: rgb(176, 176, 49);
/* oklch */ color: oklch(73.5% 0.143 109.5);
Tailwind
colors: {
  custom: {
    50: '#cbc772',
    500: '#b0b031',
    950: '#000000',
  },
}
SCSS
$custom: #b0b031;
$custom-light: #cbc772;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b031",
  "rgb": {
    "r": 176,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73471,
    "c": 0.14319,
    "h": 109.5
  },
  "luminance": 0.40503
}

Semantic roles & 50–950 ramp

primary
#B0B031
secondary
#7878C5
accent
#48E048
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #B0B031

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

Preview Lab → · Contrast checker → · Palette generator →

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