#B1A627#B1A627

#B1A627 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.139 H 104.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B1A627
RGBrgb(177, 166, 39)
HSLhsl(55, 64%, 42%)
HSVhsv(55, 78%, 69%)
CMYKcmyk(0%, 6.2%, 78%, 30.6%)
CIE-LABlab(67.10, -9.87, 61.94)
CIE-LCHlch(67.10, 62.73, 99.06°)
OKLaboklab(71.3% -0.0342 0.135)
OKLCHoklch(71.3% 0.139 104.2)
XYZxyz(32.1353, 36.7674, 7.3232)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A627 #2732B1
analogous
#B16127 #B1A627 #77B127
triadic
#B1A627 #27B1A6 #A627B1
tetradic
#B1A627 #27B161 #2732B1 #B12777
square
#B1A627 #27B161 #2732B1 #B12777
split-complementary
#B1A627 #2777B1 #6127B1
monochromatic
#4D4811 #7F771C #B1A627 #D5C940 #E0D772

Accessibility & contrast

On white

2.51
#B1A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B1A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A627
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A627#FFFFFF#000000##000000
##B1A6271.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#BF9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a627;
/* rgb */ color: rgb(177, 166, 39);
/* oklch */ color: oklch(71.3% 0.139 104.2);
Tailwind
colors: {
  custom: {
    50: '#ccc06c',
    500: '#b1a627',
    950: '#000000',
  },
}
SCSS
$custom: #b1a627;
$custom-light: #ccc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a627",
  "rgb": {
    "r": 177,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 55.217,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.13922,
    "h": 104.2
  },
  "luminance": 0.36766
}

Semantic roles & 50–950 ramp

primary
#B1A627
secondary
#6D74C7
accent
#4EE741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A627

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

Preview Lab → · Contrast checker → · Palette generator →

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