#B6B22D#B6B22D

#B6B22D 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#B6B22D
RGBrgb(182, 178, 45)
HSLhsl(58, 60%, 45%)
HSVhsv(58, 75%, 71%)
CMYKcmyk(0%, 2.2%, 75.3%, 28.6%)
CIE-LABlab(70.85, -13.66, 63.59)
CIE-LCHlch(70.85, 65.04, 102.13°)
OKLaboklab(74.41% -0.0445 0.1394)
OKLCHoklch(74.41% 0.146 107.7)
XYZxyz(35.6869, 41.9766, 8.7046)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B22D #2D31B6
analogous
#B66E2D #B6B22D #76B62D
triadic
#B6B22D #2DB6B2 #B22DB6
tetradic
#B6B22D #2DB66E #2D31B6 #B62D76
square
#B6B22D #2DB66E #2D31B6 #B62D76
split-complementary
#B6B22D #2D76B6 #6E2DB6
monochromatic
#545215 #858221 #B6B22D #D3CF4D #DFDC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B22D#FFFFFF#000000##000000
##B6B22D1.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6b22d;
/* rgb */ color: rgb(182, 178, 45);
/* oklch */ color: oklch(74.4% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c871',
    500: '#b6b22d',
    950: '#000000',
  },
}
SCSS
$custom: #b6b22d;
$custom-light: #d0c871;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b22d",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 58.248,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74406,
    "c": 0.14633,
    "h": 107.7
  },
  "luminance": 0.41975
}

Semantic roles & 50–950 ramp

primary
#B6B22D
secondary
#7779C8
accent
#49E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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