#B1A135#B1A135

#B1A135 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.126 H 100.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B1A135
RGBrgb(177, 161, 53)
HSLhsl(52, 54%, 45%)
HSVhsv(52, 70%, 69%)
CMYKcmyk(0%, 9%, 70.1%, 30.6%)
CIE-LABlab(65.82, -6.60, 55.66)
CIE-LCHlch(65.82, 56.05, 96.76°)
OKLaboklab(70.31% -0.0235 0.1243)
OKLCHoklch(70.31% 0.126 100.7)
XYZxyz(31.5203, 35.0953, 8.4812)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A135 #3545B1
analogous
#B16335 #B1A135 #83B135
triadic
#B1A135 #35B1A1 #A135B1
tetradic
#B1A135 #35B163 #3545B1 #B13583
square
#B1A135 #35B163 #3545B1 #B13583
split-complementary
#B1A135 #3583B1 #6335B1
monochromatic
#534B19 #827627 #B1A135 #CDBD57 #DBD086

Accessibility & contrast

On white

2.62
#B1A135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B1A135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A135
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A135#FFFFFF#000000##000000
##B1A1351.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C25
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#BF958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a135;
/* rgb */ color: rgb(177, 161, 53);
/* oklch */ color: oklch(70.3% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#ccbc73',
    500: '#b1a135',
    950: '#000000',
  },
}
SCSS
$custom: #b1a135;
$custom-light: #ccbc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a135",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 52.258,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.12646,
    "h": 100.7
  },
  "luminance": 0.35094
}

Semantic roles & 50–950 ramp

primary
#B1A135
secondary
#7D87C4
accent
#5DDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #B1A135

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

Preview Lab → · Contrast checker → · Palette generator →

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