#B6AB38#B6AB38

#B6AB38 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.133 H 103.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B6AB38
RGBrgb(182, 171, 56)
HSLhsl(55, 53%, 47%)
HSVhsv(55, 69%, 71%)
CMYKcmyk(0%, 6%, 69.2%, 28.6%)
CIE-LABlab(69.01, -9.51, 57.81)
CIE-LCHlch(69.01, 58.59, 99.35°)
OKLaboklab(72.96% -0.0317 0.1292)
OKLCHoklch(72.96% 0.133 103.8)
XYZxyz(34.5695, 39.3578, 9.5165)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB38 #3843B6
analogous
#B66C38 #B6AB38 #82B638
triadic
#B6AB38 #38B6AB #AB38B6
tetradic
#B6AB38 #38B66C #3843B6 #B63882
square
#B6AB38 #38B66C #3843B6 #B63882
split-complementary
#B6AB38 #3882B6 #6C38B6
monochromatic
#58531B #877F2A #B6AB38 #CDC45E #DCD58D

Accessibility & contrast

On white

2.37
#B6AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B6AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AB38
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AB38#FFFFFF#000000##000000
##B6AB381.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#C49F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab38;
/* rgb */ color: rgb(182, 171, 56);
/* oklch */ color: oklch(73.0% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#cfc376',
    500: '#b6ab38',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab38;
$custom-light: #cfc376;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab38",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 54.762,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72958,
    "c": 0.13301,
    "h": 103.8
  },
  "luminance": 0.39356
}

Semantic roles & 50–950 ramp

primary
#B6AB38
secondary
#8489C6
accent
#58DC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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