#B1A927#B1A927

#B1A927 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.142 H 105.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B1A927
RGBrgb(177, 169, 39)
HSLhsl(57, 64%, 42%)
HSVhsv(57, 78%, 69%)
CMYKcmyk(0%, 4.5%, 78%, 30.6%)
CIE-LABlab(67.93, -11.44, 62.69)
CIE-LCHlch(67.93, 63.72, 100.34°)
OKLaboklab(71.96% -0.0385 0.1366)
OKLCHoklch(71.96% 0.142 105.8)
XYZxyz(32.6870, 37.8708, 7.5071)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A927 #272FB1
analogous
#B16427 #B1A927 #74B127
triadic
#B1A927 #27B1A9 #A927B1
tetradic
#B1A927 #27B164 #272FB1 #B12774
square
#B1A927 #27B164 #272FB1 #B12774
split-complementary
#B1A927 #2774B1 #6427B1
monochromatic
#4D4911 #7F791C #B1A927 #D5CC40 #E0DA72

Accessibility & contrast

On white

2.45
#B1A927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B1A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A927
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A927#FFFFFF#000000##000000
##B1A9271.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A302
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#BE9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a927;
/* rgb */ color: rgb(177, 169, 39);
/* oklch */ color: oklch(72.0% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc26d',
    500: '#b1a927',
    950: '#000000',
  },
}
SCSS
$custom: #b1a927;
$custom-light: #ccc26d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a927",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 56.522,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71958,
    "c": 0.14189,
    "h": 105.8
  },
  "luminance": 0.3787
}

Semantic roles & 50–950 ramp

primary
#B1A927
secondary
#6D72C7
accent
#4BE741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A927

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

Preview Lab → · Contrast checker → · Palette generator →

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