#B1A334#B1A334

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

Color values

HEX#B1A334
RGBrgb(177, 163, 52)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 69%)
CMYKcmyk(0%, 7.9%, 70.6%, 30.6%)
CIE-LABlab(66.36, -7.71, 56.59)
CIE-LCHlch(66.36, 57.12, 97.76°)
OKLaboklab(70.74% -0.0268 0.1261)
OKLCHoklch(70.74% 0.129 102)
XYZxyz(31.8499, 35.7908, 8.4788)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A334 #3442B1
analogous
#B16534 #B1A334 #81B134
triadic
#B1A334 #34B1A3 #A334B1
tetradic
#B1A334 #34B165 #3442B1 #B13481
square
#B1A334 #34B165 #3442B1 #B13481
split-complementary
#B1A334 #3481B1 #6534B1
monochromatic
#524C18 #827726 #B1A334 #CDC055 #DBD184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A334#FFFFFF#000000##000000
##B1A3341.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)
#B29E23
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#BE978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a334;
/* rgb */ color: rgb(177, 163, 52);
/* oklch */ color: oklch(70.7% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#ccbd72',
    500: '#b1a334',
    950: '#000000',
  },
}
SCSS
$custom: #b1a334;
$custom-light: #ccbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a334",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 53.28,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70737,
    "c": 0.12886,
    "h": 102
  },
  "luminance": 0.35789
}

Semantic roles & 50–950 ramp

primary
#B1A334
secondary
#7C84C5
accent
#5ADE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1A334

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

Preview Lab → · Contrast checker → · Palette generator →

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