#B6A833#B6A833

#B6A833 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.134 H 102.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B6A833
RGBrgb(182, 168, 51)
HSLhsl(54, 56%, 46%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 7.7%, 72%, 28.6%)
CIE-LABlab(68.16, -8.20, 58.90)
CIE-LCHlch(68.16, 59.47, 97.92°)
OKLaboklab(72.27% -0.0286 0.1306)
OKLCHoklch(72.27% 0.134 102.3)
XYZxyz(33.8931, 38.1908, 8.7176)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A833 #3341B6
analogous
#B66633 #B6A833 #82B633
triadic
#B6A833 #33B6A8 #A833B6
tetradic
#B6A833 #33B666 #3341B6 #B63382
square
#B6A833 #33B666 #3341B6 #B63382
split-complementary
#B6A833 #3382B6 #6633B6
monochromatic
#565018 #867C26 #B6A833 #D0C356 #DDD486

Accessibility & contrast

On white

2.43
#B6A833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B6A833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A833
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A833#FFFFFF#000000##000000
##B6A8331.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A320
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#C49C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a833;
/* rgb */ color: rgb(182, 168, 51);
/* oklch */ color: oklch(72.3% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#cfc173',
    500: '#b6a833',
    950: '#000000',
  },
}
SCSS
$custom: #b6a833;
$custom-light: #cfc173;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a833",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 53.588,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72273,
    "c": 0.13367,
    "h": 102.3
  },
  "luminance": 0.38189
}

Semantic roles & 50–950 ramp

primary
#B6A833
secondary
#7E86C7
accent
#58E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A833

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

Preview Lab → · Contrast checker → · Palette generator →

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