#B1A027#B1A027

#B1A027 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.134 H 100.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B1A027
RGBrgb(177, 160, 39)
HSLhsl(53, 64%, 42%)
HSVhsv(53, 78%, 69%)
CMYKcmyk(0%, 9.6%, 78%, 30.6%)
CIE-LABlab(65.46, -6.71, 60.46)
CIE-LCHlch(65.46, 60.83, 96.33°)
OKLaboklab(70% -0.0253 0.1318)
OKLCHoklch(70% 0.134 100.9)
XYZxyz(31.0700, 34.6367, 6.9680)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A027 #2738B1
analogous
#B15B27 #B1A027 #7DB127
triadic
#B1A027 #27B1A0 #A027B1
tetradic
#B1A027 #27B15B #2738B1 #B1277D
square
#B1A027 #27B15B #2738B1 #B1277D
split-complementary
#B1A027 #277DB1 #5B27B1
monochromatic
#4D4511 #7F731C #B1A027 #D5C340 #E0D372

Accessibility & contrast

On white

2.65
#B1A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B1A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A027
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A027#FFFFFF#000000##000000
##B1A0271.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B09
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#BF9489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a027;
/* rgb */ color: rgb(177, 160, 39);
/* oklch */ color: oklch(70.0% 0.134 100.9);
Tailwind
colors: {
  custom: {
    50: '#ccbb6c',
    500: '#b1a027',
    950: '#000000',
  },
}
SCSS
$custom: #b1a027;
$custom-light: #ccbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a027",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 52.609,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70001,
    "c": 0.13418,
    "h": 100.9
  },
  "luminance": 0.34635
}

Semantic roles & 50–950 ramp

primary
#B1A027
secondary
#6D78C7
accent
#55E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A027

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

Preview Lab → · Contrast checker → · Palette generator →

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