#B1A726#B1A726

#B1A726 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.141 H 104.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B1A726
RGBrgb(177, 167, 38)
HSLhsl(56, 65%, 42%)
HSVhsv(56, 79%, 69%)
CMYKcmyk(0%, 5.6%, 78.5%, 30.6%)
CIE-LABlab(67.37, -10.43, 62.50)
CIE-LCHlch(67.37, 63.37, 99.48°)
OKLaboklab(71.52% -0.0358 0.136)
OKLCHoklch(71.52% 0.141 104.8)
XYZxyz(32.3015, 37.1258, 7.2979)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A726 #2630B1
analogous
#B16126 #B1A726 #76B126
triadic
#B1A726 #26B1A7 #A726B1
tetradic
#B1A726 #26B161 #2630B1 #B12676
square
#B1A726 #26B161 #2630B1 #B12676
split-complementary
#B1A726 #2676B1 #6126B1
monochromatic
#4C4810 #7F771B #B1A726 #D6CB3F #E0D871

Accessibility & contrast

On white

2.49
#B1A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B1A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A726
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A726#FFFFFF#000000##000000
##B1A7261.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#BAA731
Tritanopia (blue-blind)
#BF9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a726;
/* rgb */ color: rgb(177, 167, 38);
/* oklch */ color: oklch(71.5% 0.141 104.8);
Tailwind
colors: {
  custom: {
    50: '#ccc06c',
    500: '#b1a726',
    950: '#000000',
  },
}
SCSS
$custom: #b1a726;
$custom-light: #ccc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a726",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 55.683,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71515,
    "c": 0.1406,
    "h": 104.8
  },
  "luminance": 0.37124
}

Semantic roles & 50–950 ramp

primary
#B1A726
secondary
#6B72C7
accent
#4CE840
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A726

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

Preview Lab → · Contrast checker → · Palette generator →

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