#B3AB3C#B3AB3C

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

Color values

HEX#B3AB3C
RGBrgb(179, 171, 60)
HSLhsl(56, 50%, 47%)
HSVhsv(56, 66%, 70%)
CMYKcmyk(0%, 4.5%, 66.5%, 29.8%)
CIE-LABlab(68.78, -10.59, 55.87)
CIE-LCHlch(68.78, 56.87, 100.73°)
OKLaboklab(72.72% -0.0342 0.1258)
OKLCHoklch(72.72% 0.13 105.2)
XYZxyz(33.9702, 39.0370, 10.0196)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB3C #3C44B3
analogous
#B36F3C #B3AB3C #80B33C
triadic
#B3AB3C #3CB3AB #AB3CB3
tetradic
#B3AB3C #3CB36F #3C44B3 #B33C80
square
#B3AB3C #3CB36F #3C44B3 #B33C80
split-complementary
#B3AB3C #3C80B3 #6F3CB3
monochromatic
#57531D #857F2D #B3AB3C #CAC362 #DAD590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB3C#FFFFFF#000000##000000
##B3AB3C1.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)
#B9A52D
Deuteranopia (green-blind)
#BCAA43
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab3c;
/* rgb */ color: rgb(179, 171, 60);
/* oklch */ color: oklch(72.7% 0.130 105.2);
Tailwind
colors: {
  custom: {
    50: '#cdc378',
    500: '#b3ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab3c;
$custom-light: #cdc378;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab3c",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 55.966,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.1304,
    "h": 105.2
  },
  "luminance": 0.39036
}

Semantic roles & 50–950 ramp

primary
#B3AB3C
secondary
#868AC5
accent
#58D94E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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