#B1A426#B1A426

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

Color values

HEX#B1A426
RGBrgb(177, 164, 38)
HSLhsl(54, 65%, 42%)
HSVhsv(54, 79%, 69%)
CMYKcmyk(0%, 7.3%, 78.5%, 30.6%)
CIE-LABlab(66.55, -8.86, 61.76)
CIE-LCHlch(66.55, 62.40, 98.17°)
OKLaboklab(70.86% -0.0314 0.1344)
OKLCHoklch(70.86% 0.138 103.2)
XYZxyz(31.7582, 36.0394, 7.1168)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A426 #2633B1
analogous
#B15E26 #B1A426 #79B126
triadic
#B1A426 #26B1A4 #A426B1
tetradic
#B1A426 #26B15E #2633B1 #B12679
square
#B1A426 #26B15E #2633B1 #B12679
split-complementary
#B1A426 #2679B1 #5E26B1
monochromatic
#4C4710 #7F751B #B1A426 #D6C83F #E0D671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A426#FFFFFF#000000##000000
##B1A4261.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)
#B49E03
Deuteranopia (green-blind)
#B8A430
Tritanopia (blue-blind)
#BF988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a426;
/* rgb */ color: rgb(177, 164, 38);
/* oklch */ color: oklch(70.9% 0.138 103.2);
Tailwind
colors: {
  custom: {
    50: '#ccbe6c',
    500: '#b1a426',
    950: '#000000',
  },
}
SCSS
$custom: #b1a426;
$custom-light: #ccbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a426",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 54.388,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70861,
    "c": 0.138,
    "h": 103.2
  },
  "luminance": 0.36038
}

Semantic roles & 50–950 ramp

primary
#B1A426
secondary
#6B74C7
accent
#50E840
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A426

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

Preview Lab → · Contrast checker → · Palette generator →

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