#B1A326#B1A326

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

Color values

HEX#B1A326
RGBrgb(177, 163, 38)
HSLhsl(54, 65%, 42%)
HSVhsv(54, 79%, 69%)
CMYKcmyk(0%, 7.9%, 78.5%, 30.6%)
CIE-LABlab(66.28, -8.33, 61.52)
CIE-LCHlch(66.28, 62.08, 97.72°)
OKLaboklab(70.64% -0.0299 0.1339)
OKLCHoklch(70.64% 0.137 102.6)
XYZxyz(31.5800, 35.6828, 7.0574)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A326 #2634B1
analogous
#B15E26 #B1A326 #79B126
triadic
#B1A326 #26B1A3 #A326B1
tetradic
#B1A326 #26B15E #2634B1 #B12679
square
#B1A326 #26B15E #2634B1 #B12679
split-complementary
#B1A326 #2679B1 #5E26B1
monochromatic
#4C4610 #7F751B #B1A326 #D6C63F #E0D571

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A326#FFFFFF#000000##000000
##B1A3261.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)
#B39E03
Deuteranopia (green-blind)
#B7A430
Tritanopia (blue-blind)
#BF978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a326;
/* rgb */ color: rgb(177, 163, 38);
/* oklch */ color: oklch(70.6% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#ccbd6b',
    500: '#b1a326',
    950: '#000000',
  },
}
SCSS
$custom: #b1a326;
$custom-light: #ccbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a326",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 53.957,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70644,
    "c": 0.13716,
    "h": 102.6
  },
  "luminance": 0.35681
}

Semantic roles & 50–950 ramp

primary
#B1A326
secondary
#6B75C7
accent
#51E840
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A326

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

Preview Lab → · Contrast checker → · Palette generator →

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