#B1A028#B1A028

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

Color values

HEX#B1A028
RGBrgb(177, 160, 40)
HSLhsl(53, 63%, 43%)
HSVhsv(53, 77%, 69%)
CMYKcmyk(0%, 9.6%, 77.4%, 30.6%)
CIE-LABlab(65.47, -6.67, 60.13)
CIE-LCHlch(65.47, 60.50, 96.33°)
OKLaboklab(70.01% -0.0251 0.1313)
OKLCHoklch(70.01% 0.134 100.8)
XYZxyz(31.0868, 34.6434, 7.0565)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A028 #2839B1
analogous
#B15C28 #B1A028 #7DB128
triadic
#B1A028 #28B1A0 #A028B1
tetradic
#B1A028 #28B15C #2839B1 #B1287D
square
#B1A028 #28B15C #2839B1 #B1287D
split-complementary
#B1A028 #287DB1 #5C28B1
monochromatic
#4D4611 #7F731D #B1A028 #D4C242 #E0D274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A028#FFFFFF#000000##000000
##B1A0281.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)
#B09B0C
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#BF9489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a028;
/* rgb */ color: rgb(177, 160, 40);
/* oklch */ color: oklch(70.0% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#ccbb6c',
    500: '#b1a028',
    950: '#000000',
  },
}
SCSS
$custom: #b1a028;
$custom-light: #ccbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a028",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 52.555,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70007,
    "c": 0.13364,
    "h": 100.8
  },
  "luminance": 0.34642
}

Semantic roles & 50–950 ramp

primary
#B1A028
secondary
#6E79C7
accent
#56E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A028

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

Preview Lab → · Contrast checker → · Palette generator →

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