#B0B331#B0B331

#B0B331 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.1% C 0.146 H 110.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B0B331
RGBrgb(176, 179, 49)
HSLhsl(61, 57%, 45%)
HSVhsv(61, 73%, 70%)
CMYKcmyk(1.7%, 0%, 72.6%, 29.8%)
CIE-LABlab(70.66, -16.59, 61.87)
CIE-LCHlch(70.66, 64.05, 105.01°)
OKLaboklab(74.14% -0.052 0.1367)
OKLCHoklch(74.14% 0.146 110.8)
XYZxyz(34.5802, 41.6930, 9.1311)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B331 #3431B3
analogous
#B37531 #B0B331 #6FB331
triadic
#B0B331 #31B0B3 #B331B0
tetradic
#B0B331 #31B375 #3431B3 #B3316F
square
#B0B331 #31B375 #3431B3 #B3316F
split-complementary
#B0B331 #316FB3 #7531B3
monochromatic
#525317 #818324 #B0B331 #CDD052 #DBDD82

Accessibility & contrast

On white

2.25
#B0B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B0B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B331
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B331#FFFFFF#000000##000000
##B0B3311.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB18
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#BCA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b331;
/* rgb */ color: rgb(176, 179, 49);
/* oklch */ color: oklch(74.1% 0.146 110.8);
Tailwind
colors: {
  custom: {
    50: '#cbc973',
    500: '#b0b331',
    950: '#000000',
  },
}
SCSS
$custom: #b0b331;
$custom-light: #cbc973;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b331",
  "rgb": {
    "r": 176,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 61.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74136,
    "c": 0.14625,
    "h": 110.8
  },
  "luminance": 0.41692
}

Semantic roles & 50–950 ramp

primary
#B0B331
secondary
#7C7AC6
accent
#48E04B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0B331

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

Preview Lab → · Contrast checker → · Palette generator →

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