#B6A22B#B6A22B

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

Color values

HEX#B6A22B
RGBrgb(182, 162, 43)
HSLhsl(51, 62%, 44%)
HSVhsv(51, 76%, 71%)
CMYKcmyk(0%, 11%, 76.4%, 28.6%)
CIE-LABlab(66.49, -5.39, 60.22)
CIE-LCHlch(66.49, 60.46, 95.12°)
OKLaboklab(70.93% -0.0214 0.1318)
OKLCHoklch(70.93% 0.134 99.2)
XYZxyz(32.6494, 35.9618, 7.5066)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A22B #2B3FB6
analogous
#B65D2B #B6A22B #85B62B
triadic
#B6A22B #2BB6A2 #A22BB6
tetradic
#B6A22B #2BB65D #2B3FB6 #B62B85
square
#B6A22B #2BB65D #2B3FB6 #B62B85
split-complementary
#B6A22B #2B85B6 #5D2BB6
monochromatic
#534A14 #84761F #B6A22B #D4C04A #E0D17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A22B#FFFFFF#000000##000000
##B6A22B1.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)
#B29E12
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#C5968B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a22b;
/* rgb */ color: rgb(182, 162, 43);
/* oklch */ color: oklch(70.9% 0.134 99.2);
Tailwind
colors: {
  custom: {
    50: '#d0bd6e',
    500: '#b6a22b',
    950: '#000000',
  },
}
SCSS
$custom: #b6a22b;
$custom-light: #d0bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a22b",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 51.367,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70931,
    "c": 0.13356,
    "h": 99.2
  },
  "luminance": 0.3596
}

Semantic roles & 50–950 ramp

primary
#B6A22B
secondary
#7581C8
accent
#5AE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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