#B6A233#B6A233

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

Color values

HEX#B6A233
RGBrgb(182, 162, 51)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 72%, 71%)
CMYKcmyk(0%, 11%, 72%, 28.6%)
CIE-LABlab(66.54, -5.03, 57.32)
CIE-LCHlch(66.54, 57.54, 95.01°)
OKLaboklab(70.99% -0.0196 0.1272)
OKLCHoklch(70.99% 0.129 98.7)
XYZxyz(32.8108, 36.0264, 8.3569)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A233 #3347B6
analogous
#B66133 #B6A233 #88B633
triadic
#B6A233 #33B6A2 #A233B6
tetradic
#B6A233 #33B661 #3347B6 #B63388
square
#B6A233 #33B661 #3347B6 #B63388
split-complementary
#B6A233 #3388B6 #6133B6
monochromatic
#564D18 #867726 #B6A233 #D0BD56 #DDD086

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A233#FFFFFF#000000##000000
##B6A2331.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)
#B29E22
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#C4968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a233;
/* rgb */ color: rgb(182, 162, 51);
/* oklch */ color: oklch(71.0% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#d0bd72',
    500: '#b6a233',
    950: '#000000',
  },
}
SCSS
$custom: #b6a233;
$custom-light: #d0bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a233",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 50.84,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70986,
    "c": 0.12872,
    "h": 98.7
  },
  "luminance": 0.36025
}

Semantic roles & 50–950 ramp

primary
#B6A233
secondary
#7E89C7
accent
#5FE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A233

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

Preview Lab → · Contrast checker → · Palette generator →

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