#B3AB30#B3AB30

#B3AB30 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.138 H 105.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B3AB30
RGBrgb(179, 171, 48)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 73%, 70%)
CMYKcmyk(0%, 4.5%, 73.2%, 29.8%)
CIE-LABlab(68.70, -11.22, 60.44)
CIE-LCHlch(68.70, 61.47, 100.52°)
OKLaboklab(72.63% -0.0372 0.1334)
OKLCHoklch(72.63% 0.138 105.6)
XYZxyz(33.6882, 38.9242, 8.5343)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB30 #3038B3
analogous
#B36A30 #B3AB30 #7AB330
triadic
#B3AB30 #30B3AB #AB30B3
tetradic
#B3AB30 #30B36A #3038B3 #B3307A
square
#B3AB30 #30B36A #3038B3 #B3307A
split-complementary
#B3AB30 #307AB3 #6A30B3
monochromatic
#524F16 #837D23 #B3AB30 #D0C850 #DDD780

Accessibility & contrast

On white

2.39
#B3AB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B3AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB30
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB30#FFFFFF#000000##000000
##B3AB301.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ab30;
/* rgb */ color: rgb(179, 171, 48);
/* oklch */ color: oklch(72.6% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#cdc371',
    500: '#b3ab30',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab30;
$custom-light: #cdc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab30",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 56.336,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.13848,
    "h": 105.6
  },
  "luminance": 0.38923
}

Semantic roles & 50–950 ramp

primary
#B3AB30
secondary
#797DC6
accent
#50E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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