#B6A237#B6A237

#B6A237 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.126 H 98.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B6A237
RGBrgb(182, 162, 55)
HSLhsl(51, 54%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 11%, 69.8%, 28.6%)
CIE-LABlab(66.57, -4.82, 55.75)
CIE-LCHlch(66.57, 55.96, 94.94°)
OKLaboklab(71.02% -0.0185 0.1246)
OKLCHoklch(71.02% 0.126 98.5)
XYZxyz(32.9029, 36.0632, 8.8415)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A237 #374BB6
analogous
#B66337 #B6A237 #8BB637
triadic
#B6A237 #37B6A2 #A237B6
tetradic
#B6A237 #37B663 #374BB6 #B6378B
square
#B6A237 #37B663 #374BB6 #B6378B
split-complementary
#B6A237 #378BB6 #6337B6
monochromatic
#584E1B #877829 #B6A237 #CEBC5C #DCCF8B

Accessibility & contrast

On white

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

On black

8.21
#B6A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A237
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A237#FFFFFF#000000##000000
##B6A2371.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6a237;
/* rgb */ color: rgb(182, 162, 55);
/* oklch */ color: oklch(71.0% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#cfbd74',
    500: '#b6a237',
    950: '#000000',
  },
}
SCSS
$custom: #b6a237;
$custom-light: #cfbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a237",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 50.551,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.12601,
    "h": 98.5
  },
  "luminance": 0.36062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B6A237

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

Preview Lab → · Contrast checker → · Palette generator →

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