#B1A328#B1A328

#B1A328 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.136 H 102.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B1A328
RGBrgb(177, 163, 40)
HSLhsl(54, 63%, 43%)
HSVhsv(54, 77%, 69%)
CMYKcmyk(0%, 7.9%, 77.4%, 30.6%)
CIE-LABlab(66.29, -8.26, 60.88)
CIE-LCHlch(66.29, 61.44, 97.72°)
OKLaboklab(70.66% -0.0295 0.1329)
OKLCHoklch(70.66% 0.136 102.5)
XYZxyz(31.6131, 35.6961, 7.2319)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A328 #2836B1
analogous
#B15F28 #B1A328 #7AB128
triadic
#B1A328 #28B1A3 #A328B1
tetradic
#B1A328 #28B15F #2836B1 #B1287A
square
#B1A328 #28B15F #2836B1 #B1287A
split-complementary
#B1A328 #287AB1 #5F28B1
monochromatic
#4D4711 #7F751D #B1A328 #D4C542 #E0D574

Accessibility & contrast

On white

2.58
#B1A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B1A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A328
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A328#FFFFFF#000000##000000
##B1A3281.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0A
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#BF978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a328;
/* rgb */ color: rgb(177, 163, 40);
/* oklch */ color: oklch(70.7% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#ccbd6c',
    500: '#b1a328',
    950: '#000000',
  },
}
SCSS
$custom: #b1a328;
$custom-light: #ccbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a328",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 53.869,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70656,
    "c": 0.13611,
    "h": 102.5
  },
  "luminance": 0.35695
}

Semantic roles & 50–950 ramp

primary
#B1A328
secondary
#6E77C7
accent
#52E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A328

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

Preview Lab → · Contrast checker → · Palette generator →

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