#B1A130#B1A130

#B1A130 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.130 H 101.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B1A130
RGBrgb(177, 161, 48)
HSLhsl(53, 57%, 44%)
HSVhsv(53, 73%, 69%)
CMYKcmyk(0%, 9%, 72.9%, 30.6%)
CIE-LABlab(65.79, -6.85, 57.57)
CIE-LCHlch(65.79, 57.98, 96.78°)
OKLaboklab(70.28% -0.0248 0.1274)
OKLCHoklch(70.28% 0.13 101)
XYZxyz(31.4113, 35.0517, 7.9068)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A130 #3040B1
analogous
#B16130 #B1A130 #81B130
triadic
#B1A130 #30B1A1 #A130B1
tetradic
#B1A130 #30B161 #3040B1 #B13081
square
#B1A130 #30B161 #3040B1 #B13081
split-complementary
#B1A130 #3081B1 #6130B1
monochromatic
#514916 #817523 #B1A130 #CFBF4F #DCD17F

Accessibility & contrast

On white

2.62
#B1A130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#B1A130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A130
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A130#FFFFFF#000000##000000
##B1A1301.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#BF958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a130;
/* rgb */ color: rgb(177, 161, 48);
/* oklch */ color: oklch(70.3% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#ccbc70',
    500: '#b1a130',
    950: '#000000',
  },
}
SCSS
$custom: #b1a130;
$custom-light: #ccbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a130",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 52.558,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70275,
    "c": 0.12978,
    "h": 101
  },
  "luminance": 0.3505
}

Semantic roles & 50–950 ramp

primary
#B1A130
secondary
#7881C5
accent
#5AE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A130

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

Preview Lab → · Contrast checker → · Palette generator →

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