#B6AB3E#B6AB3E

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

Color values

HEX#B6AB3E
RGBrgb(182, 171, 62)
HSLhsl(55, 49%, 48%)
HSVhsv(55, 66%, 71%)
CMYKcmyk(0%, 6%, 65.9%, 28.6%)
CIE-LABlab(69.05, -9.17, 55.41)
CIE-LCHlch(69.05, 56.16, 99.40°)
OKLaboklab(73.01% -0.0301 0.1251)
OKLCHoklch(73.01% 0.129 103.5)
XYZxyz(34.7252, 39.4200, 10.3362)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB3E #3E49B6
analogous
#B66F3E #B6AB3E #85B63E
triadic
#B6AB3E #3EB6AB #AB3EB6
tetradic
#B6AB3E #3EB66F #3E49B6 #B63E85
square
#B6AB3E #3EB66F #3E49B6 #B63E85
split-complementary
#B6AB3E #3E85B6 #6F3EB6
monochromatic
#5B551F #88802E #B6AB3E #CBC266 #DBD494

Accessibility & contrast

On white

2.36
#B6AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B6AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AB3E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AB3E#FFFFFF#000000##000000
##B6AB3E1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA530
Deuteranopia (green-blind)
#BDAB44
Tritanopia (blue-blind)
#C3A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ab3e;
/* rgb */ color: rgb(182, 171, 62);
/* oklch */ color: oklch(73.0% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#cfc379',
    500: '#b6ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab3e;
$custom-light: #cfc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab3e",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 54.5,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73008,
    "c": 0.12867,
    "h": 103.5
  },
  "luminance": 0.39419
}

Semantic roles & 50–950 ramp

primary
#B6AB3E
secondary
#8A8FC6
accent
#5CD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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