#B6A337#B6A337

#B6A337 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.127 H 99.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B6A337
RGBrgb(182, 163, 55)
HSLhsl(51, 54%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 10.4%, 69.8%, 28.6%)
CIE-LABlab(66.84, -5.35, 56.02)
CIE-LCHlch(66.84, 56.28, 95.46°)
OKLaboklab(71.23% -0.02 0.1252)
OKLCHoklch(71.23% 0.127 99.1)
XYZxyz(33.0797, 36.4169, 8.9004)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A337 #374AB6
analogous
#B66437 #B6A337 #8AB637
triadic
#B6A337 #37B6A3 #A337B6
tetradic
#B6A337 #37B664 #374AB6 #B6378A
square
#B6A337 #37B664 #374AB6 #B6378A
split-complementary
#B6A337 #378AB6 #6437B6
monochromatic
#584F1B #877929 #B6A337 #CEBD5C #DCD08B

Accessibility & contrast

On white

2.54
#B6A337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B6A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A337
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A337#FFFFFF#000000##000000
##B6A3371.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F28
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#C4978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a337;
/* rgb */ color: rgb(182, 163, 55);
/* oklch */ color: oklch(71.2% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#cfbd74',
    500: '#b6a337',
    950: '#000000',
  },
}
SCSS
$custom: #b6a337;
$custom-light: #cfbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a337",
  "rgb": {
    "r": 182,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 51.024,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71231,
    "c": 0.12681,
    "h": 99.1
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

primary
#B6A337
secondary
#828DC6
accent
#61DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A337

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

Preview Lab → · Contrast checker → · Palette generator →

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