#B3AB34#B3AB34

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

Color values

HEX#B3AB34
RGBrgb(179, 171, 52)
HSLhsl(56, 55%, 45%)
HSVhsv(56, 71%, 70%)
CMYKcmyk(0%, 4.5%, 70.9%, 29.8%)
CIE-LABlab(68.72, -11.03, 58.99)
CIE-LCHlch(68.72, 60.01, 100.59°)
OKLaboklab(72.66% -0.0363 0.131)
OKLCHoklch(72.66% 0.136 105.5)
XYZxyz(33.7745, 38.9587, 8.9888)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB34 #343CB3
analogous
#B36B34 #B3AB34 #7CB334
triadic
#B3AB34 #34B3AB #AB34B3
tetradic
#B3AB34 #34B36B #343CB3 #B3347C
square
#B3AB34 #34B36B #343CB3 #B3347C
split-complementary
#B3AB34 #347CB3 #6B34B3
monochromatic
#545018 #847E26 #B3AB34 #CEC656 #DCD686

Accessibility & contrast

On white

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

On black

8.79
#B3AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB34
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB34#FFFFFF#000000##000000
##B3AB341.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA520
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#C09F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab34;
/* rgb */ color: rgb(179, 171, 52);
/* oklch */ color: oklch(72.7% 0.136 105.5);
Tailwind
colors: {
  custom: {
    50: '#cdc373',
    500: '#b3ab34',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab34;
$custom-light: #cdc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab34",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 56.22,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72657,
    "c": 0.13597,
    "h": 105.5
  },
  "luminance": 0.38957
}

Semantic roles & 50–950 ramp

primary
#B3AB34
secondary
#7D82C5
accent
#53DE49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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