#B1A733#B1A733

#B1A733 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.133 H 104.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B1A733
RGBrgb(177, 167, 51)
HSLhsl(55, 55%, 45%)
HSVhsv(55, 71%, 69%)
CMYKcmyk(0%, 5.6%, 71.2%, 30.6%)
CIE-LABlab(67.45, -9.86, 58.05)
CIE-LCHlch(67.45, 58.89, 99.64°)
OKLaboklab(71.6% -0.033 0.129)
OKLCHoklch(71.6% 0.133 104.3)
XYZxyz(32.5491, 37.2248, 8.6019)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A733 #333DB1
analogous
#B16833 #B1A733 #7CB133
triadic
#B1A733 #33B1A7 #A733B1
tetradic
#B1A733 #33B168 #333DB1 #B1337C
square
#B1A733 #33B168 #333DB1 #B1337C
split-complementary
#B1A733 #337CB1 #6833B1
monochromatic
#524D18 #817A25 #B1A733 #CEC454 #DBD483

Accessibility & contrast

On white

2.49
#B1A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B1A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A733
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A733#FFFFFF#000000##000000
##B1A7331.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A120
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#BE9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a733;
/* rgb */ color: rgb(177, 167, 51);
/* oklch */ color: oklch(71.6% 0.133 104.3);
Tailwind
colors: {
  custom: {
    50: '#ccc072',
    500: '#b1a733',
    950: '#000000',
  },
}
SCSS
$custom: #b1a733;
$custom-light: #ccc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a733",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 55.238,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71598,
    "c": 0.13311,
    "h": 104.3
  },
  "luminance": 0.37224
}

Semantic roles & 50–950 ramp

primary
#B1A733
secondary
#7B81C5
accent
#55DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A733

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

Preview Lab → · Contrast checker → · Palette generator →

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