#B3A330#B3A330

#B3A330 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.131 H 101.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B3A330
RGBrgb(179, 163, 48)
HSLhsl(53, 58%, 45%)
HSVhsv(53, 73%, 70%)
CMYKcmyk(0%, 8.9%, 73.2%, 29.8%)
CIE-LABlab(66.51, -7.03, 58.34)
CIE-LCHlch(66.51, 58.76, 96.87°)
OKLaboklab(70.89% -0.0254 0.1289)
OKLCHoklch(70.89% 0.131 101.1)
XYZxyz(32.2226, 35.9930, 8.0458)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A330 #3040B3
analogous
#B36230 #B3A330 #81B330
triadic
#B3A330 #30B3A3 #A330B3
tetradic
#B3A330 #30B362 #3040B3 #B33081
square
#B3A330 #30B362 #3040B3 #B33081
split-complementary
#B3A330 #3081B3 #6230B3
monochromatic
#524B16 #837723 #B3A330 #D0C050 #DDD280

Accessibility & contrast

On white

2.56
#B3A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B3A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A330
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A330#FFFFFF#000000##000000
##B3A3301.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a330;
/* rgb */ color: rgb(179, 163, 48);
/* oklch */ color: oklch(70.9% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#cdbd70',
    500: '#b3a330',
    950: '#000000',
  },
}
SCSS
$custom: #b3a330;
$custom-light: #cdbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a330",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 52.672,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.13141,
    "h": 101.1
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

primary
#B3A330
secondary
#7982C6
accent
#5AE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A330

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

Preview Lab → · Contrast checker → · Palette generator →

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