#B3AB2E#B3AB2E

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

Color values

HEX#B3AB2E
RGBrgb(179, 171, 46)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 74%, 70%)
CMYKcmyk(0%, 4.5%, 74.3%, 29.8%)
CIE-LABlab(68.68, -11.31, 61.13)
CIE-LCHlch(68.68, 62.17, 100.48°)
OKLaboklab(72.62% -0.0377 0.1345)
OKLCHoklch(72.62% 0.14 105.6)
XYZxyz(33.6479, 38.9081, 8.3218)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB2E #2E36B3
analogous
#B3692E #B3AB2E #79B32E
triadic
#B3AB2E #2EB3AB #AB2EB3
tetradic
#B3AB2E #2EB369 #2E36B3 #B32E79
square
#B3AB2E #2EB369 #2E36B3 #B32E79
split-complementary
#B3AB2E #2E79B3 #692EB3
monochromatic
#524E15 #827C21 #B3AB2E #D1C94D #DED87E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB2E#FFFFFF#000000##000000
##B3AB2E1.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)
#BAA515
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C09F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab2e;
/* rgb */ color: rgb(179, 171, 46);
/* oklch */ color: oklch(72.6% 0.140 105.6);
Tailwind
colors: {
  custom: {
    50: '#cdc370',
    500: '#b3ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab2e;
$custom-light: #cdc370;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab2e",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 56.391,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.13965,
    "h": 105.6
  },
  "luminance": 0.38907
}

Semantic roles & 50–950 ramp

primary
#B3AB2E
secondary
#767BC6
accent
#4FE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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