#B1A127#B1A127

#B1A127 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.135 H 101.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B1A127
RGBrgb(177, 161, 39)
HSLhsl(53, 64%, 42%)
HSVhsv(53, 78%, 69%)
CMYKcmyk(0%, 9%, 78%, 30.6%)
CIE-LABlab(65.74, -7.24, 60.71)
CIE-LCHlch(65.74, 61.14, 96.80°)
OKLaboklab(70.22% -0.0268 0.1323)
OKLCHoklch(70.22% 0.135 101.4)
XYZxyz(31.2440, 34.9848, 7.0261)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A127 #2737B1
analogous
#B15C27 #B1A127 #7CB127
triadic
#B1A127 #27B1A1 #A127B1
tetradic
#B1A127 #27B15C #2737B1 #B1277C
square
#B1A127 #27B15C #2737B1 #B1277C
split-complementary
#B1A127 #277CB1 #5C27B1
monochromatic
#4D4611 #7F731C #B1A127 #D5C440 #E0D372

Accessibility & contrast

On white

2.63
#B1A127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B1A127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A127
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A127#FFFFFF#000000##000000
##B1A1271.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C08
Deuteranopia (green-blind)
#B5A330
Tritanopia (blue-blind)
#BF958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a127;
/* rgb */ color: rgb(177, 161, 39);
/* oklch */ color: oklch(70.2% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#ccbc6c',
    500: '#b1a127',
    950: '#000000',
  },
}
SCSS
$custom: #b1a127;
$custom-light: #ccbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a127",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 53.043,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70217,
    "c": 0.13499,
    "h": 101.4
  },
  "luminance": 0.34983
}

Semantic roles & 50–950 ramp

primary
#B1A127
secondary
#6D77C7
accent
#54E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A127

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

Preview Lab → · Contrast checker → · Palette generator →

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