#B6A02B#B6A02B

#B6A02B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.132 H 98.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B6A02B
RGBrgb(182, 160, 43)
HSLhsl(51, 62%, 44%)
HSVhsv(51, 76%, 71%)
CMYKcmyk(0%, 12.1%, 76.4%, 28.6%)
CIE-LABlab(65.95, -4.33, 59.72)
CIE-LCHlch(65.95, 59.87, 94.14°)
OKLaboklab(70.51% -0.0184 0.1308)
OKLCHoklch(70.51% 0.132 98)
XYZxyz(32.2999, 35.2628, 7.3901)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A02B #2B41B6
analogous
#B65B2B #B6A02B #87B62B
triadic
#B6A02B #2BB6A0 #A02BB6
tetradic
#B6A02B #2BB65B #2B41B6 #B62B87
square
#B6A02B #2BB65B #2B41B6 #B62B87
split-complementary
#B6A02B #2B87B6 #5B2BB6
monochromatic
#534914 #84741F #B6A02B #D4BE4A #E0D07B

Accessibility & contrast

On white

2.61
#B6A02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B6A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A02B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A02B#FFFFFF#000000##000000
##B6A02B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C13
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#C5948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b6a02b;
/* rgb */ color: rgb(182, 160, 43);
/* oklch */ color: oklch(70.5% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d0bb6e',
    500: '#b6a02b',
    950: '#000000',
  },
}
SCSS
$custom: #b6a02b;
$custom-light: #d0bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a02b",
  "rgb": {
    "r": 182,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 50.504,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70505,
    "c": 0.13206,
    "h": 98
  },
  "luminance": 0.35261
}

Semantic roles & 50–950 ramp

primary
#B6A02B
secondary
#7582C8
accent
#5DE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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