#B6A22E#B6A22E

#B6A22E is a light, vivid yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.132 H 99.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B6A22E
RGBrgb(182, 162, 46)
HSLhsl(51, 60%, 45%)
HSVhsv(51, 75%, 71%)
CMYKcmyk(0%, 11%, 74.7%, 28.6%)
CIE-LABlab(66.51, -5.26, 59.17)
CIE-LCHlch(66.51, 59.40, 95.08°)
OKLaboklab(70.95% -0.0208 0.1302)
OKLCHoklch(70.95% 0.132 99.1)
XYZxyz(32.7065, 35.9846, 7.8072)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A22E #2E42B6
analogous
#B65E2E #B6A22E #86B62E
triadic
#B6A22E #2EB6A2 #A22EB6
tetradic
#B6A22E #2EB65E #2E42B6 #B62E86
square
#B6A22E #2EB65E #2E42B6 #B62E86
split-complementary
#B6A22E #2E86B6 #5E2EB6
monochromatic
#544B15 #857722 #B6A22E #D2BF4F #DFD180

Accessibility & contrast

On white

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

On black

8.20
#B6A22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A22E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A22E#FFFFFF#000000##000000
##B6A22E1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E19
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#C4968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a22e;
/* rgb */ color: rgb(182, 162, 46);
/* oklch */ color: oklch(71.0% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#d0bd6f',
    500: '#b6a22e',
    950: '#000000',
  },
}
SCSS
$custom: #b6a22e;
$custom-light: #d0bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a22e",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 51.176,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70951,
    "c": 0.13183,
    "h": 99.1
  },
  "luminance": 0.35983
}

Semantic roles & 50–950 ramp

primary
#B6A22E
secondary
#7884C8
accent
#5CE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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