#B1A428#B1A428

#B1A428 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.137 H 103.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B1A428
RGBrgb(177, 164, 40)
HSLhsl(54, 63%, 43%)
HSVhsv(54, 77%, 69%)
CMYKcmyk(0%, 7.3%, 77.4%, 30.6%)
CIE-LABlab(66.56, -8.78, 61.13)
CIE-LCHlch(66.56, 61.76, 98.18°)
OKLaboklab(70.87% -0.031 0.1334)
OKLCHoklch(70.87% 0.137 103.1)
XYZxyz(31.7914, 36.0526, 7.2913)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A428 #2835B1
analogous
#B16028 #B1A428 #79B128
triadic
#B1A428 #28B1A4 #A428B1
tetradic
#B1A428 #28B160 #2835B1 #B12879
square
#B1A428 #28B160 #2835B1 #B12879
split-complementary
#B1A428 #2879B1 #6028B1
monochromatic
#4D4711 #7F761D #B1A428 #D4C642 #E0D574

Accessibility & contrast

On white

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

On black

8.21
#B1A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A428
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A428#FFFFFF#000000##000000
##B1A4281.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F09
Deuteranopia (green-blind)
#B7A532
Tritanopia (blue-blind)
#BF988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a428;
/* rgb */ color: rgb(177, 164, 40);
/* oklch */ color: oklch(70.9% 0.137 103.1);
Tailwind
colors: {
  custom: {
    50: '#ccbe6d',
    500: '#b1a428',
    950: '#000000',
  },
}
SCSS
$custom: #b1a428;
$custom-light: #ccbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a428",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 54.307,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70873,
    "c": 0.13697,
    "h": 103.1
  },
  "luminance": 0.36051
}

Semantic roles & 50–950 ramp

primary
#B1A428
secondary
#6E76C7
accent
#51E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A428

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

Preview Lab → · Contrast checker → · Palette generator →

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