#B1A327#B1A327

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

Color values

HEX#B1A327
RGBrgb(177, 163, 39)
HSLhsl(54, 64%, 42%)
HSVhsv(54, 78%, 69%)
CMYKcmyk(0%, 7.9%, 78%, 30.6%)
CIE-LABlab(66.28, -8.30, 61.20)
CIE-LCHlch(66.28, 61.76, 97.72°)
OKLaboklab(70.65% -0.0297 0.1334)
OKLCHoklch(70.65% 0.137 102.6)
XYZxyz(31.5963, 35.6894, 7.1435)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A327 #2735B1
analogous
#B15E27 #B1A327 #7AB127
triadic
#B1A327 #27B1A3 #A327B1
tetradic
#B1A327 #27B15E #2735B1 #B1277A
square
#B1A327 #27B15E #2735B1 #B1277A
split-complementary
#B1A327 #277AB1 #5E27B1
monochromatic
#4D4711 #7F751C #B1A327 #D5C640 #E0D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A327#FFFFFF#000000##000000
##B1A3271.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)
#B39E07
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#BF978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a327;
/* rgb */ color: rgb(177, 163, 39);
/* oklch */ color: oklch(70.7% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#ccbd6c',
    500: '#b1a327',
    950: '#000000',
  },
}
SCSS
$custom: #b1a327;
$custom-light: #ccbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a327",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 53.913,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.13664,
    "h": 102.6
  },
  "luminance": 0.35688
}

Semantic roles & 50–950 ramp

primary
#B1A327
secondary
#6D76C7
accent
#52E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A327

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

Preview Lab → · Contrast checker → · Palette generator →

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