#B6B22C#B6B22C

#B6B22C 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#B6B22C
RGBrgb(182, 178, 44)
HSLhsl(58, 61%, 44%)
HSVhsv(58, 76%, 71%)
CMYKcmyk(0%, 2.2%, 75.8%, 28.6%)
CIE-LABlab(70.85, -13.70, 63.91)
CIE-LCHlch(70.85, 65.37, 102.10°)
OKLaboklab(74.4% -0.0447 0.1399)
OKLCHoklch(74.4% 0.147 107.7)
XYZxyz(35.6678, 41.9689, 8.6044)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B22C #2C30B6
analogous
#B66D2C #B6B22C #75B62C
triadic
#B6B22C #2CB6B2 #B22CB6
tetradic
#B6B22C #2CB66D #2C30B6 #B62C75
square
#B6B22C #2CB66D #2C30B6 #B62C75
split-complementary
#B6B22C #2C75B6 #6D2CB6
monochromatic
#535214 #858220 #B6B22C #D4D04C #E0DD7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B22C#FFFFFF#000000##000000
##B6B22C1.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)
#C1AB0B
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#C3A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b22c;
/* rgb */ color: rgb(182, 178, 44);
/* oklch */ color: oklch(74.4% 0.147 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c870',
    500: '#b6b22c',
    950: '#000000',
  },
}
SCSS
$custom: #b6b22c;
$custom-light: #d0c870;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b22c",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 58.261,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.744,
    "c": 0.14687,
    "h": 107.7
  },
  "luminance": 0.41968
}

Semantic roles & 50–950 ramp

primary
#B6B22C
secondary
#7678C8
accent
#48E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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