#B3A928#B3A928

#B3A928 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.1% C 0.141 H 104.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B3A928
RGBrgb(179, 169, 40)
HSLhsl(56, 63%, 43%)
HSVhsv(56, 78%, 70%)
CMYKcmyk(0%, 5.6%, 77.7%, 29.8%)
CIE-LABlab(68.10, -10.52, 62.60)
CIE-LCHlch(68.10, 63.48, 99.54°)
OKLaboklab(72.14% -0.036 0.1365)
OKLCHoklch(72.14% 0.141 104.8)
XYZxyz(33.1628, 38.1142, 7.6170)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A928 #2832B3
analogous
#B36328 #B3A928 #78B328
triadic
#B3A928 #28B3A9 #A928B3
tetradic
#B3A928 #28B363 #2832B3 #B32878
square
#B3A928 #28B363 #2832B3 #B32878
split-complementary
#B3A928 #2878B3 #6328B3
monochromatic
#4F4B12 #817A1D #B3A928 #D5CB43 #E0D975

Accessibility & contrast

On white

2.44
#B3A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B3A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A928
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A928#FFFFFF#000000##000000
##B3A9281.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A305
Deuteranopia (green-blind)
#BCA832
Tritanopia (blue-blind)
#C19D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b3a928;
/* rgb */ color: rgb(179, 169, 40);
/* oklch */ color: oklch(72.1% 0.141 104.8);
Tailwind
colors: {
  custom: {
    50: '#cec26d',
    500: '#b3a928',
    950: '#000000',
  },
}
SCSS
$custom: #b3a928;
$custom-light: #cec26d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a928",
  "rgb": {
    "r": 179,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 55.683,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72144,
    "c": 0.14113,
    "h": 104.8
  },
  "luminance": 0.38113
}

Semantic roles & 50–950 ramp

primary
#B3A928
secondary
#6F76C8
accent
#4DE641
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A928

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

Preview Lab → · Contrast checker → · Palette generator →

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