#B6B22B#B6B22B

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

Color values

HEX#B6B22B
RGBrgb(182, 178, 43)
HSLhsl(58, 62%, 44%)
HSVhsv(58, 76%, 71%)
CMYKcmyk(0%, 2.2%, 76.4%, 28.6%)
CIE-LABlab(70.84, -13.74, 64.23)
CIE-LCHlch(70.84, 65.69, 102.08°)
OKLaboklab(74.4% -0.0449 0.1404)
OKLCHoklch(74.4% 0.147 107.7)
XYZxyz(35.6493, 41.9615, 8.5066)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B22B #2B2FB6
analogous
#B66C2B #B6B22B #75B62B
triadic
#B6B22B #2BB6B2 #B22BB6
tetradic
#B6B22B #2BB66C #2B2FB6 #B62B75
square
#B6B22B #2BB66C #2B2FB6 #B62B75
split-complementary
#B6B22B #2B75B6 #6C2BB6
monochromatic
#535114 #84821F #B6B22B #D4D04A #E0DD7B

Accessibility & contrast

On white

2.24
#B6B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B6B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B22B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B22B#FFFFFF#000000##000000
##B6B22B1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6b22b;
/* rgb */ color: rgb(182, 178, 43);
/* oklch */ color: oklch(74.4% 0.147 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c870',
    500: '#b6b22b',
    950: '#000000',
  },
}
SCSS
$custom: #b6b22b;
$custom-light: #d0c870;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b22b",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 58.273,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74395,
    "c": 0.1474,
    "h": 107.7
  },
  "luminance": 0.4196
}

Semantic roles & 50–950 ramp

primary
#B6B22B
secondary
#7577C8
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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