#B1A333#B1A333

#B1A333 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.130 H 102.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B1A333
RGBrgb(177, 163, 51)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 69%)
CMYKcmyk(0%, 7.9%, 71.2%, 30.6%)
CIE-LABlab(66.35, -7.76, 56.98)
CIE-LCHlch(66.35, 57.50, 97.76°)
OKLaboklab(70.73% -0.027 0.1267)
OKLCHoklch(70.73% 0.13 102)
XYZxyz(31.8276, 35.7819, 8.3614)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A333 #3341B1
analogous
#B16433 #B1A333 #80B133
triadic
#B1A333 #33B1A3 #A333B1
tetradic
#B1A333 #33B164 #3341B1 #B13380
square
#B1A333 #33B164 #3341B1 #B13380
split-complementary
#B1A333 #3380B1 #6433B1
monochromatic
#524B18 #817725 #B1A333 #CEC054 #DBD183

Accessibility & contrast

On white

2.57
#B1A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B1A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A333
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A333#FFFFFF#000000##000000
##B1A3331.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E21
Deuteranopia (green-blind)
#B6A43A
Tritanopia (blue-blind)
#BF978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a333;
/* rgb */ color: rgb(177, 163, 51);
/* oklch */ color: oklch(70.7% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#ccbd72',
    500: '#b1a333',
    950: '#000000',
  },
}
SCSS
$custom: #b1a333;
$custom-light: #ccbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a333",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 53.333,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70729,
    "c": 0.12953,
    "h": 102
  },
  "luminance": 0.35781
}

Semantic roles & 50–950 ramp

primary
#B1A333
secondary
#7B83C5
accent
#5ADF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A333

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

Preview Lab → · Contrast checker → · Palette generator →

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