#B1A526#B1A526

#B1A526 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.139 H 103.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B1A526
RGBrgb(177, 165, 38)
HSLhsl(55, 65%, 42%)
HSVhsv(55, 79%, 69%)
CMYKcmyk(0%, 6.8%, 78.5%, 30.6%)
CIE-LABlab(66.82, -9.39, 62.01)
CIE-LCHlch(66.82, 62.72, 98.61°)
OKLaboklab(71.08% -0.0329 0.1349)
OKLCHoklch(71.08% 0.139 103.7)
XYZxyz(31.9379, 36.3987, 7.1767)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A526 #2632B1
analogous
#B16026 #B1A526 #78B126
triadic
#B1A526 #26B1A5 #A526B1
tetradic
#B1A526 #26B160 #2632B1 #B12678
square
#B1A526 #26B160 #2632B1 #B12678
split-complementary
#B1A526 #2678B1 #6026B1
monochromatic
#4C4710 #7F761B #B1A526 #D6C93F #E0D771

Accessibility & contrast

On white

2.54
#B1A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B1A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A526
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A526#FFFFFF#000000##000000
##B1A5261.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F02
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#BF998D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a526;
/* rgb */ color: rgb(177, 165, 38);
/* oklch */ color: oklch(71.1% 0.139 103.7);
Tailwind
colors: {
  custom: {
    50: '#ccbf6c',
    500: '#b1a526',
    950: '#000000',
  },
}
SCSS
$custom: #b1a526;
$custom-light: #ccbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a526",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 54.82,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71079,
    "c": 0.13885,
    "h": 103.7
  },
  "luminance": 0.36397
}

Semantic roles & 50–950 ramp

primary
#B1A526
secondary
#6B73C7
accent
#4FE840
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A526

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

Preview Lab → · Contrast checker → · Palette generator →

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