#B6B22F#B6B22F

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

Color values

HEX#B6B22F
RGBrgb(182, 178, 47)
HSLhsl(58, 59%, 45%)
HSVhsv(58, 74%, 71%)
CMYKcmyk(0%, 2.2%, 74.2%, 28.6%)
CIE-LABlab(70.87, -13.58, 62.93)
CIE-LCHlch(70.87, 64.38, 102.17°)
OKLaboklab(74.42% -0.0441 0.1384)
OKLCHoklch(74.42% 0.145 107.7)
XYZxyz(35.7263, 41.9923, 8.9122)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B22F #2F33B6
analogous
#B66E2F #B6B22F #77B62F
triadic
#B6B22F #2FB6B2 #B22FB6
tetradic
#B6B22F #2FB66E #2F33B6 #B62F77
square
#B6B22F #2FB66E #2F33B6 #B62F77
split-complementary
#B6B22F #2F77B6 #6E2FB6
monochromatic
#555316 #858222 #B6B22F #D2CE50 #DEDC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B22F#FFFFFF#000000##000000
##B6B22F1.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)
#C1AB13
Deuteranopia (green-blind)
#C3B039
Tritanopia (blue-blind)
#C3A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b22f;
/* rgb */ color: rgb(182, 178, 47);
/* oklch */ color: oklch(74.4% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c872',
    500: '#b6b22f',
    950: '#000000',
  },
}
SCSS
$custom: #b6b22f;
$custom-light: #d0c872;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b22f",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 58.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74418,
    "c": 0.14522,
    "h": 107.7
  },
  "luminance": 0.41991
}

Semantic roles & 50–950 ramp

primary
#B6B22F
secondary
#797CC7
accent
#4AE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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