#B1A833#B1A833

#B1A833 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.134 H 104.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B1A833
RGBrgb(177, 168, 51)
HSLhsl(56, 55%, 45%)
HSVhsv(56, 71%, 69%)
CMYKcmyk(0%, 5.1%, 71.2%, 30.6%)
CIE-LABlab(67.72, -10.39, 58.32)
CIE-LCHlch(67.72, 59.24, 100.10°)
OKLaboklab(71.82% -0.0344 0.1295)
OKLCHoklch(71.82% 0.134 104.9)
XYZxyz(32.7330, 37.5926, 8.6632)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A833 #333CB1
analogous
#B16933 #B1A833 #7BB133
triadic
#B1A833 #33B1A8 #A833B1
tetradic
#B1A833 #33B169 #333CB1 #B1337B
square
#B1A833 #33B169 #333CB1 #B1337B
split-complementary
#B1A833 #337BB1 #6933B1
monochromatic
#524E18 #817B25 #B1A833 #CEC554 #DBD583

Accessibility & contrast

On white

2.47
#B1A833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B1A833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A833
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A833#FFFFFF#000000##000000
##B1A8331.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A220
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#BE9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a833;
/* rgb */ color: rgb(177, 168, 51);
/* oklch */ color: oklch(71.8% 0.134 104.9);
Tailwind
colors: {
  custom: {
    50: '#ccc172',
    500: '#b1a833',
    950: '#000000',
  },
}
SCSS
$custom: #b1a833;
$custom-light: #ccc172;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a833",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 55.714,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71816,
    "c": 0.13403,
    "h": 104.9
  },
  "luminance": 0.37591
}

Semantic roles & 50–950 ramp

primary
#B1A833
secondary
#7B80C5
accent
#54DF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1A833

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

Preview Lab → · Contrast checker → · Palette generator →

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