#B6A236#B6A236

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

Color values

HEX#B6A236
RGBrgb(182, 162, 54)
HSLhsl(51, 54%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 11%, 70.3%, 28.6%)
CIE-LABlab(66.56, -4.87, 56.15)
CIE-LCHlch(66.56, 56.36, 94.96°)
OKLaboklab(71.01% -0.0188 0.1253)
OKLCHoklch(71.01% 0.127 98.5)
XYZxyz(32.8791, 36.0537, 8.7165)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A236 #364AB6
analogous
#B66236 #B6A236 #8AB636
triadic
#B6A236 #36B6A2 #A236B6
tetradic
#B6A236 #36B662 #364AB6 #B6368A
square
#B6A236 #36B662 #364AB6 #B6368A
split-complementary
#B6A236 #368AB6 #6236B6
monochromatic
#584E1A #877828 #B6A236 #CEBC5B #DCCF8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A236#FFFFFF#000000##000000
##B6A2361.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)
#B29E26
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#C4968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a236;
/* rgb */ color: rgb(182, 162, 54);
/* oklch */ color: oklch(71.0% 0.127 98.5);
Tailwind
colors: {
  custom: {
    50: '#cfbd74',
    500: '#b6a236',
    950: '#000000',
  },
}
SCSS
$custom: #b6a236;
$custom-light: #cfbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a236",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 50.625,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71009,
    "c": 0.1267,
    "h": 98.5
  },
  "luminance": 0.36052
}

Semantic roles & 50–950 ramp

primary
#B6A236
secondary
#818CC6
accent
#61DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A236

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

Preview Lab → · Contrast checker → · Palette generator →

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