#B1A233#B1A233

#B1A233 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.129 H 101.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B1A233
RGBrgb(177, 162, 51)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 69%)
CMYKcmyk(0%, 8.5%, 71.2%, 30.6%)
CIE-LABlab(66.08, -7.23, 56.71)
CIE-LCHlch(66.08, 57.17, 97.27°)
OKLaboklab(70.51% -0.0255 0.1261)
OKLCHoklch(70.51% 0.129 101.4)
XYZxyz(31.6507, 35.4282, 8.3025)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A233 #3342B1
analogous
#B16333 #B1A233 #81B133
triadic
#B1A233 #33B1A2 #A233B1
tetradic
#B1A233 #33B163 #3342B1 #B13381
square
#B1A233 #33B163 #3342B1 #B13381
split-complementary
#B1A233 #3381B1 #6333B1
monochromatic
#524B18 #817725 #B1A233 #CEBF54 #DBD183

Accessibility & contrast

On white

2.60
#B1A233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B1A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A233
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A233#FFFFFF#000000##000000
##B1A2331.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D22
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#BF968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a233;
/* rgb */ color: rgb(177, 162, 51);
/* oklch */ color: oklch(70.5% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#ccbd72',
    500: '#b1a233',
    950: '#000000',
  },
}
SCSS
$custom: #b1a233;
$custom-light: #ccbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a233",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 52.857,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70513,
    "c": 0.12868,
    "h": 101.4
  },
  "luminance": 0.35427
}

Semantic roles & 50–950 ramp

primary
#B1A233
secondary
#7B84C5
accent
#5BDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A233

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

Preview Lab → · Contrast checker → · Palette generator →

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