#B6A22C#B6A22C

#B6A22C is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.133 H 99.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B6A22C
RGBrgb(182, 162, 44)
HSLhsl(51, 61%, 44%)
HSVhsv(51, 76%, 71%)
CMYKcmyk(0%, 11%, 75.8%, 28.6%)
CIE-LABlab(66.50, -5.35, 59.87)
CIE-LCHlch(66.50, 60.11, 95.11°)
OKLaboklab(70.94% -0.0212 0.1313)
OKLCHoklch(70.94% 0.133 99.2)
XYZxyz(32.6680, 35.9692, 7.6044)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A22C #2C40B6
analogous
#B65D2C #B6A22C #85B62C
triadic
#B6A22C #2CB6A2 #A22CB6
tetradic
#B6A22C #2CB65D #2C40B6 #B62C85
square
#B6A22C #2CB65D #2C40B6 #B62C85
split-complementary
#B6A22C #2C85B6 #5D2CB6
monochromatic
#534A14 #857620 #B6A22C #D4C04C #E0D17D

Accessibility & contrast

On white

2.56
#B6A22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B6A22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A22C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A22C#FFFFFF#000000##000000
##B6A22C1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E15
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#C4968B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a22c;
/* rgb */ color: rgb(182, 162, 44);
/* oklch */ color: oklch(70.9% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d0bd6e',
    500: '#b6a22c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a22c;
$custom-light: #d0bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a22c",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 51.304,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70938,
    "c": 0.133,
    "h": 99.2
  },
  "luminance": 0.35968
}

Semantic roles & 50–950 ramp

primary
#B6A22C
secondary
#7682C8
accent
#5BE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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