#B1A930#B1A930

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

Color values

HEX#B1A930
RGBrgb(177, 169, 48)
HSLhsl(56, 57%, 44%)
HSVhsv(56, 73%, 69%)
CMYKcmyk(0%, 4.5%, 72.9%, 30.6%)
CIE-LABlab(67.97, -11.06, 59.68)
CIE-LCHlch(67.97, 60.70, 100.49°)
OKLaboklab(72.01% -0.0366 0.1319)
OKLCHoklch(72.01% 0.137 105.5)
XYZxyz(32.8543, 37.9377, 8.3878)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A930 #3038B1
analogous
#B16930 #B1A930 #79B130
triadic
#B1A930 #30B1A9 #A930B1
tetradic
#B1A930 #30B169 #3038B1 #B13079
square
#B1A930 #30B169 #3038B1 #B13079
split-complementary
#B1A930 #3079B1 #6930B1
monochromatic
#514D16 #817B23 #B1A930 #CFC74F #DCD77F

Accessibility & contrast

On white

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

On black

8.59
#B1A930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A930
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A930#FFFFFF#000000##000000
##B1A9301.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#BE9D92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a930;
/* rgb */ color: rgb(177, 169, 48);
/* oklch */ color: oklch(72.0% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#ccc271',
    500: '#b1a930',
    950: '#000000',
  },
}
SCSS
$custom: #b1a930;
$custom-light: #ccc271;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a930",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 56.279,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72013,
    "c": 0.13686,
    "h": 105.5
  },
  "luminance": 0.37936
}

Semantic roles & 50–950 ramp

primary
#B1A930
secondary
#787CC5
accent
#51E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A930

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

Preview Lab → · Contrast checker → · Palette generator →

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