#B3AB3E#B3AB3E

#B3AB3E is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.129 H 105.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B3AB3E
RGBrgb(179, 171, 62)
HSLhsl(56, 49%, 47%)
HSVhsv(56, 65%, 70%)
CMYKcmyk(0%, 4.5%, 65.4%, 29.8%)
CIE-LABlab(68.79, -10.47, 55.06)
CIE-LCHlch(68.79, 56.04, 100.77°)
OKLaboklab(72.74% -0.0336 0.1244)
OKLCHoklch(72.74% 0.129 105.1)
XYZxyz(34.0241, 39.0585, 10.3033)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB3E #3E46B3
analogous
#B3703E #B3AB3E #81B33E
triadic
#B3AB3E #3EB3AB #AB3EB3
tetradic
#B3AB3E #3EB370 #3E46B3 #B33E81
square
#B3AB3E #3EB370 #3E46B3 #B33E81
split-complementary
#B3AB3E #3E81B3 #703EB3
monochromatic
#58541F #86802E #B3AB3E #CAC365 #D9D492

Accessibility & contrast

On white

2.38
#B3AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B3AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB3E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB3E#FFFFFF#000000##000000
##B3AB3E1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab3e;
/* rgb */ color: rgb(179, 171, 62);
/* oklch */ color: oklch(72.7% 0.129 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc379',
    500: '#b3ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab3e;
$custom-light: #cdc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab3e",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 55.897,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72738,
    "c": 0.1289,
    "h": 105.1
  },
  "luminance": 0.39057
}

Semantic roles & 50–950 ramp

primary
#B3AB3E
secondary
#888CC5
accent
#59D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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