#B3AD2A#B3AD2A

#B3AD2A is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.144 H 106.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B3AD2A
RGBrgb(179, 173, 42)
HSLhsl(57, 62%, 43%)
HSVhsv(57, 77%, 70%)
CMYKcmyk(0%, 3.4%, 76.5%, 29.8%)
CIE-LABlab(69.21, -12.52, 62.97)
CIE-LCHlch(69.21, 64.20, 101.24°)
OKLaboklab(73.03% -0.0414 0.1376)
OKLCHoklch(73.03% 0.144 106.7)
XYZxyz(33.9533, 39.6392, 8.0527)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AD2A #2A30B3
analogous
#B3682A #B3AD2A #74B32A
triadic
#B3AD2A #2AB3AD #AD2AB3
tetradic
#B3AD2A #2AB368 #2A30B3 #B32A74
square
#B3AD2A #2AB368 #2A30B3 #B32A74
split-complementary
#B3AD2A #2A74B3 #682AB3
monochromatic
#504D13 #817D1E #B3AD2A #D4CE46 #DFDB78

Accessibility & contrast

On white

2.35
#B3AD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B3AD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AD2A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AD2A#FFFFFF#000000##000000
##B3AD2A1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA608
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#C0A194
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b3ad2a;
/* rgb */ color: rgb(179, 173, 42);
/* oklch */ color: oklch(73.0% 0.144 106.7);
Tailwind
colors: {
  custom: {
    50: '#cec56f',
    500: '#b3ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #b3ad2a;
$custom-light: #cec56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ad2a",
  "rgb": {
    "r": 179,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 57.372,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73029,
    "c": 0.14372,
    "h": 106.7
  },
  "luminance": 0.39638
}

Semantic roles & 50–950 ramp

primary
#B3AD2A
secondary
#7275C7
accent
#4AE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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