#B6A42B#B6A42B

#B6A42B is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.135 H 100.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B6A42B
RGBrgb(182, 164, 43)
HSLhsl(52, 62%, 44%)
HSVhsv(52, 76%, 71%)
CMYKcmyk(0%, 9.9%, 76.4%, 28.6%)
CIE-LABlab(67.03, -6.45, 60.72)
CIE-LCHlch(67.03, 61.06, 96.06°)
OKLaboklab(71.36% -0.0244 0.1329)
OKLCHoklch(71.36% 0.135 100.4)
XYZxyz(33.0045, 36.6720, 7.6250)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A42B #2B3DB6
analogous
#B65F2B #B6A42B #83B62B
triadic
#B6A42B #2BB6A4 #A42BB6
tetradic
#B6A42B #2BB65F #2B3DB6 #B62B83
square
#B6A42B #2BB65F #2B3DB6 #B62B83
split-complementary
#B6A42B #2B83B6 #5F2BB6
monochromatic
#534B14 #84771F #B6A42B #D4C24A #E0D37B

Accessibility & contrast

On white

2.52
#B6A42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B6A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A42B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A42B#FFFFFF#000000##000000
##B6A42B1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F11
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#C4988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a42b;
/* rgb */ color: rgb(182, 164, 43);
/* oklch */ color: oklch(71.4% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#d0be6e',
    500: '#b6a42b',
    950: '#000000',
  },
}
SCSS
$custom: #b6a42b;
$custom-light: #d0be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a42b",
  "rgb": {
    "r": 182,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 52.23,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71359,
    "c": 0.13512,
    "h": 100.4
  },
  "luminance": 0.3667
}

Semantic roles & 50–950 ramp

primary
#B6A42B
secondary
#757FC8
accent
#58E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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