#B3A51E#B3A51E

#B3A51E is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.142 H 102.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B3A51E
RGBrgb(179, 165, 30)
HSLhsl(54, 71%, 41%)
HSVhsv(54, 83%, 70%)
CMYKcmyk(0%, 7.8%, 83.2%, 29.8%)
CIE-LABlab(66.97, -8.77, 64.52)
CIE-LCHlch(66.97, 65.12, 97.74°)
OKLaboklab(71.23% -0.0319 0.1387)
OKLCHoklch(71.23% 0.142 102.9)
XYZxyz(32.2814, 36.5892, 6.5901)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A51E #1E2CB3
analogous
#B35A1E #B3A51E #76B31E
triadic
#B3A51E #1EB3A5 #A51EB3
tetradic
#B3A51E #1EB35A #1E2CB3 #B31E76
square
#B3A51E #1EB35A #1E2CB3 #B31E76
split-complementary
#B3A51E #1E76B3 #5A1EB3
monochromatic
#4A440C #7F7515 #B3A51E #DDCD32 #E5D966

Accessibility & contrast

On white

2.52
#B3A51E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B3A51E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A51E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A51E#FFFFFF#000000##000000
##B3A51E1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B9A62A
Tritanopia (blue-blind)
#C1998D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a51e;
/* rgb */ color: rgb(179, 165, 30);
/* oklch */ color: oklch(71.2% 0.142 102.9);
Tailwind
colors: {
  custom: {
    50: '#cebf69',
    500: '#b3a51e',
    950: '#000000',
  },
}
SCSS
$custom: #b3a51e;
$custom-light: #cebf69;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a51e",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 30
  },
  "hsl": {
    "h": 54.362,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.14231,
    "h": 102.9
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#B3A51E
secondary
#626CCB
accent
#4BEE3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A

Preview Lab

Preview with #B3A51E

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

Preview Lab → · Contrast checker → · Palette generator →

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