#B1A033#B1A033

#B1A033 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.127 H 100.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B1A033
RGBrgb(177, 160, 51)
HSLhsl(52, 55%, 45%)
HSVhsv(52, 71%, 69%)
CMYKcmyk(0%, 9.6%, 71.2%, 30.6%)
CIE-LABlab(65.54, -6.17, 56.17)
CIE-LCHlch(65.54, 56.51, 96.27°)
OKLaboklab(70.08% -0.0225 0.125)
OKLCHoklch(70.08% 0.127 100.2)
XYZxyz(31.3012, 34.7292, 8.1860)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A033 #3344B1
analogous
#B16133 #B1A033 #83B133
triadic
#B1A033 #33B1A0 #A033B1
tetradic
#B1A033 #33B161 #3344B1 #B13383
square
#B1A033 #33B161 #3344B1 #B13383
split-complementary
#B1A033 #3383B1 #6133B1
monochromatic
#524A18 #817525 #B1A033 #CEBD54 #DBCF83

Accessibility & contrast

On white

2.64
#B1A033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B1A033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A033
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A033#FFFFFF#000000##000000
##B1A0331.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B22
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a033;
/* rgb */ color: rgb(177, 160, 51);
/* oklch */ color: oklch(70.1% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#ccbb72',
    500: '#b1a033',
    950: '#000000',
  },
}
SCSS
$custom: #b1a033;
$custom-light: #ccbb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a033",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 51.905,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.12699,
    "h": 100.2
  },
  "luminance": 0.34728
}

Semantic roles & 50–950 ramp

primary
#B1A033
secondary
#7B85C5
accent
#5DDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B1A033

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

Preview Lab → · Contrast checker → · Palette generator →

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