#B1A427#B1A427

#B1A427 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.137 H 103.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B1A427
RGBrgb(177, 164, 39)
HSLhsl(54, 64%, 42%)
HSVhsv(54, 78%, 69%)
CMYKcmyk(0%, 7.3%, 78%, 30.6%)
CIE-LABlab(66.56, -8.82, 61.45)
CIE-LCHlch(66.56, 62.08, 98.17°)
OKLaboklab(70.87% -0.0312 0.1339)
OKLCHoklch(70.87% 0.137 103.1)
XYZxyz(31.7746, 36.0459, 7.2029)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A427 #2734B1
analogous
#B15F27 #B1A427 #79B127
triadic
#B1A427 #27B1A4 #A427B1
tetradic
#B1A427 #27B15F #2734B1 #B12779
square
#B1A427 #27B15F #2734B1 #B12779
split-complementary
#B1A427 #2779B1 #5F27B1
monochromatic
#4D4711 #7F761C #B1A427 #D5C740 #E0D672

Accessibility & contrast

On white

2.56
#B1A427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B1A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A427
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A427#FFFFFF#000000##000000
##B1A4271.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E06
Deuteranopia (green-blind)
#B7A531
Tritanopia (blue-blind)
#BF988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a427;
/* rgb */ color: rgb(177, 164, 39);
/* oklch */ color: oklch(70.9% 0.137 103.1);
Tailwind
colors: {
  custom: {
    50: '#ccbe6c',
    500: '#b1a427',
    950: '#000000',
  },
}
SCSS
$custom: #b1a427;
$custom-light: #ccbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a427",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 54.348,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70867,
    "c": 0.13749,
    "h": 103.1
  },
  "luminance": 0.36045
}

Semantic roles & 50–950 ramp

primary
#B1A427
secondary
#6D75C7
accent
#51E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A427

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

Preview Lab → · Contrast checker → · Palette generator →

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