#B3A319#B3A319

#B3A319 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.143 H 102.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B3A319
RGBrgb(179, 163, 25)
HSLhsl(54, 75%, 40%)
HSVhsv(54, 86%, 70%)
CMYKcmyk(0%, 8.9%, 86%, 29.8%)
CIE-LABlab(66.41, -7.85, 65.30)
CIE-LCHlch(66.41, 65.77, 96.85°)
OKLaboklab(70.77% -0.0297 0.1395)
OKLCHoklch(70.77% 0.143 102)
XYZxyz(31.8647, 35.8498, 6.1608)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A319 #1929B3
analogous
#B35619 #B3A319 #76B319
triadic
#B3A319 #19B3A3 #A319B3
tetradic
#B3A319 #19B356 #1929B3 #B31976
square
#B3A319 #19B356 #1929B3 #B31976
split-complementary
#B3A319 #1976B3 #5619B3
monochromatic
#48410A #7D7212 #B3A319 #E1CE28 #E8DA5E

Accessibility & contrast

On white

2.57
#B3A319 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B3A319 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A319
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A319#FFFFFF#000000##000000
##B3A3191.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B8A426
Tritanopia (blue-blind)
#C1968B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a319;
/* rgb */ color: rgb(179, 163, 25);
/* oklch */ color: oklch(70.8% 0.143 102.0);
Tailwind
colors: {
  custom: {
    50: '#cebd66',
    500: '#b3a319',
    950: '#000000',
  },
}
SCSS
$custom: #b3a319;
$custom-light: #cebd66;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a319",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 25
  },
  "hsl": {
    "h": 53.766,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.70772,
    "c": 0.14257,
    "h": 102
  },
  "luminance": 0.35848
}

Semantic roles & 50–950 ramp

primary
#B3A319
secondary
#5B67CC
accent
#49F236
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141207
muted
#83817A

Preview Lab

Preview with #B3A319

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

Preview Lab → · Contrast checker → · Palette generator →

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