#B1A337#B1A337

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

Color values

HEX#B1A337
RGBrgb(177, 163, 55)
HSLhsl(53, 53%, 45%)
HSVhsv(53, 69%, 69%)
CMYKcmyk(0%, 7.9%, 68.9%, 30.6%)
CIE-LABlab(66.38, -7.55, 55.41)
CIE-LCHlch(66.38, 55.93, 97.76°)
OKLaboklab(70.76% -0.026 0.1241)
OKLCHoklch(70.76% 0.127 101.8)
XYZxyz(31.9196, 35.8187, 8.8460)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A337 #3745B1
analogous
#B16637 #B1A337 #82B137
triadic
#B1A337 #37B1A3 #A337B1
tetradic
#B1A337 #37B166 #3745B1 #B13782
square
#B1A337 #37B166 #3745B1 #B13782
split-complementary
#B1A337 #3782B1 #6637B1
monochromatic
#544D1A #827828 #B1A337 #CCBF5A #DAD188

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A337#FFFFFF#000000##000000
##B1A3371.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)
#B29E28
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#BE988D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a337;
/* rgb */ color: rgb(177, 163, 55);
/* oklch */ color: oklch(70.8% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#ccbd74',
    500: '#b1a337',
    950: '#000000',
  },
}
SCSS
$custom: #b1a337;
$custom-light: #ccbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a337",
  "rgb": {
    "r": 177,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 53.115,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.12678,
    "h": 101.8
  },
  "luminance": 0.35817
}

Semantic roles & 50–950 ramp

primary
#B1A337
secondary
#8087C4
accent
#5CDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A337

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

Preview Lab → · Contrast checker → · Palette generator →

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