#B1A126#B1A126

#B1A126 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.136 H 101.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B1A126
RGBrgb(177, 161, 38)
HSLhsl(53, 65%, 42%)
HSVhsv(53, 79%, 69%)
CMYKcmyk(0%, 9%, 78.5%, 30.6%)
CIE-LABlab(65.73, -7.28, 61.03)
CIE-LCHlch(65.73, 61.46, 96.80°)
OKLaboklab(70.21% -0.0269 0.1328)
OKLCHoklch(70.21% 0.136 101.5)
XYZxyz(31.2277, 34.9782, 6.9399)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A126 #2636B1
analogous
#B15C26 #B1A126 #7BB126
triadic
#B1A126 #26B1A1 #A126B1
tetradic
#B1A126 #26B15C #2636B1 #B1267B
square
#B1A126 #26B15C #2636B1 #B1267B
split-complementary
#B1A126 #267BB1 #5C26B1
monochromatic
#4C4510 #7F731B #B1A126 #D6C43F #E0D471

Accessibility & contrast

On white

2.63
#B1A126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B1A126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A126
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A126#FFFFFF#000000##000000
##B1A1261.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C05
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#BF958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a126;
/* rgb */ color: rgb(177, 161, 38);
/* oklch */ color: oklch(70.2% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#ccbc6b',
    500: '#b1a126',
    950: '#000000',
  },
}
SCSS
$custom: #b1a126;
$custom-light: #ccbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a126",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 53.094,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.1355,
    "h": 101.5
  },
  "luminance": 0.34977
}

Semantic roles & 50–950 ramp

primary
#B1A126
secondary
#6B76C7
accent
#53E840
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A126

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

Preview Lab → · Contrast checker → · Palette generator →

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