#B6B232#B6B232

#B6B232 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.143 H 107.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B6B232
RGBrgb(182, 178, 50)
HSLhsl(58, 57%, 45%)
HSVhsv(58, 73%, 71%)
CMYKcmyk(0%, 2.2%, 72.5%, 28.6%)
CIE-LABlab(70.88, -13.44, 61.90)
CIE-LCHlch(70.88, 63.35, 102.25°)
OKLaboklab(74.44% -0.0434 0.1367)
OKLCHoklch(74.44% 0.143 107.6)
XYZxyz(35.7889, 42.0174, 9.2419)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B232 #3236B6
analogous
#B67032 #B6B232 #78B632
triadic
#B6B232 #32B6B2 #B232B6
tetradic
#B6B232 #32B670 #3236B6 #B63278
square
#B6B232 #32B670 #3236B6 #B63278
split-complementary
#B6B232 #3278B6 #7032B6
monochromatic
#565418 #868325 #B6B232 #D0CD55 #DDDB85

Accessibility & contrast

On white

2.23
#B6B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B6B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B232
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B232#FFFFFF#000000##000000
##B6B2321.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1A
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#C3A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b232;
/* rgb */ color: rgb(182, 178, 50);
/* oklch */ color: oklch(74.4% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#cfc873',
    500: '#b6b232',
    950: '#000000',
  },
}
SCSS
$custom: #b6b232;
$custom-light: #cfc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b232",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 58.182,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74438,
    "c": 0.14347,
    "h": 107.6
  },
  "luminance": 0.42016
}

Semantic roles & 50–950 ramp

primary
#B6B232
secondary
#7D7FC7
accent
#4CE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B232

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

Preview Lab → · Contrast checker → · Palette generator →

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