#B6B22E#B6B22E

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

Color values

HEX#B6B22E
RGBrgb(182, 178, 46)
HSLhsl(58, 60%, 45%)
HSVhsv(58, 75%, 71%)
CMYKcmyk(0%, 2.2%, 74.7%, 28.6%)
CIE-LABlab(70.86, -13.62, 63.26)
CIE-LCHlch(70.86, 64.71, 102.15°)
OKLaboklab(74.41% -0.0443 0.1389)
OKLCHoklch(74.41% 0.146 107.7)
XYZxyz(35.7063, 41.9843, 8.8072)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B22E #2E32B6
analogous
#B66E2E #B6B22E #76B62E
triadic
#B6B22E #2EB6B2 #B22EB6
tetradic
#B6B22E #2EB66E #2E32B6 #B62E76
square
#B6B22E #2EB66E #2E32B6 #B62E76
split-complementary
#B6B22E #2E76B6 #6E2EB6
monochromatic
#545215 #858222 #B6B22E #D2CF4F #DFDC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B22E#FFFFFF#000000##000000
##B6B22E1.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)
#C1AB11
Deuteranopia (green-blind)
#C3B038
Tritanopia (blue-blind)
#C3A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b22e;
/* rgb */ color: rgb(182, 178, 46);
/* oklch */ color: oklch(74.4% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c871',
    500: '#b6b22e',
    950: '#000000',
  },
}
SCSS
$custom: #b6b22e;
$custom-light: #d0c871;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b22e",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 58.235,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74412,
    "c": 0.14578,
    "h": 107.7
  },
  "luminance": 0.41983
}

Semantic roles & 50–950 ramp

primary
#B6B22E
secondary
#787BC8
accent
#4AE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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