#B6AB30#B6AB30

#B6AB30 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.138 H 104.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B6AB30
RGBrgb(182, 171, 48)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 74%, 71%)
CMYKcmyk(0%, 6%, 73.6%, 28.6%)
CIE-LABlab(68.96, -9.91, 60.78)
CIE-LCHlch(68.96, 61.58, 99.26°)
OKLaboklab(72.9% -0.0337 0.134)
OKLCHoklch(72.9% 0.138 104.1)
XYZxyz(34.3893, 39.2857, 8.5672)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB30 #303BB6
analogous
#B66830 #B6AB30 #7EB630
triadic
#B6AB30 #30B6AB #AB30B6
tetradic
#B6AB30 #30B668 #303BB6 #B6307E
square
#B6AB30 #30B668 #303BB6 #B6307E
split-complementary
#B6AB30 #307EB6 #6830B6
monochromatic
#555016 #867D23 #B6AB30 #D1C752 #DED782

Accessibility & contrast

On white

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

On black

8.86
#B6AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AB30
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AB30#FFFFFF#000000##000000
##B6AB301.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA519
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#C49F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab30;
/* rgb */ color: rgb(182, 171, 48);
/* oklch */ color: oklch(72.9% 0.138 104.1);
Tailwind
colors: {
  custom: {
    50: '#d0c371',
    500: '#b6ab30',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab30;
$custom-light: #d0c371;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab30",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 55.075,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.729,
    "c": 0.13816,
    "h": 104.1
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#B6AB30
secondary
#7B81C7
accent
#53E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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