#B1A535#B1A535

#B1A535 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.130 H 103.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B1A535
RGBrgb(177, 165, 53)
HSLhsl(54, 54%, 45%)
HSVhsv(54, 70%, 69%)
CMYKcmyk(0%, 6.8%, 70.1%, 30.6%)
CIE-LABlab(66.91, -8.71, 56.75)
CIE-LCHlch(66.91, 57.41, 98.73°)
OKLaboklab(71.18% -0.0295 0.1266)
OKLCHoklch(71.18% 0.13 103.1)
XYZxyz(32.2306, 36.5157, 8.7180)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A535 #3541B1
analogous
#B16735 #B1A535 #7FB135
triadic
#B1A535 #35B1A5 #A535B1
tetradic
#B1A535 #35B167 #3541B1 #B1357F
square
#B1A535 #35B167 #3541B1 #B1357F
split-complementary
#B1A535 #357FB1 #6735B1
monochromatic
#534D19 #827927 #B1A535 #CDC157 #DBD286

Accessibility & contrast

On white

2.53
#B1A535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B1A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A535
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A535#FFFFFF#000000##000000
##B1A5351.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A024
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#BE9A8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a535;
/* rgb */ color: rgb(177, 165, 53);
/* oklch */ color: oklch(71.2% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#ccbf73',
    500: '#b1a535',
    950: '#000000',
  },
}
SCSS
$custom: #b1a535;
$custom-light: #ccbf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a535",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 54.194,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.12995,
    "h": 103.1
  },
  "luminance": 0.36514
}

Semantic roles & 50–950 ramp

primary
#B1A535
secondary
#7D84C4
accent
#59DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1A535

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

Preview Lab → · Contrast checker → · Palette generator →

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