#B1A437#B1A437

#B1A437 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.128 H 102.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B1A437
RGBrgb(177, 164, 55)
HSLhsl(54, 53%, 45%)
HSVhsv(54, 69%, 69%)
CMYKcmyk(0%, 7.3%, 68.9%, 30.6%)
CIE-LABlab(66.65, -8.08, 55.69)
CIE-LCHlch(66.65, 56.27, 98.25°)
OKLaboklab(70.98% -0.0275 0.1247)
OKLCHoklch(70.98% 0.128 102.4)
XYZxyz(32.0979, 36.1752, 8.9055)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A437 #3744B1
analogous
#B16737 #B1A437 #81B137
triadic
#B1A437 #37B1A4 #A437B1
tetradic
#B1A437 #37B167 #3744B1 #B13781
square
#B1A437 #37B167 #3744B1 #B13781
split-complementary
#B1A437 #3781B1 #6737B1
monochromatic
#544D1A #827928 #B1A437 #CCBF5A #DAD188

Accessibility & contrast

On white

2.55
#B1A437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B1A437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A437
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A437#FFFFFF#000000##000000
##B1A4371.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#BE998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a437;
/* rgb */ color: rgb(177, 164, 55);
/* oklch */ color: oklch(71.0% 0.128 102.4);
Tailwind
colors: {
  custom: {
    50: '#ccbe74',
    500: '#b1a437',
    950: '#000000',
  },
}
SCSS
$custom: #b1a437;
$custom-light: #ccbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a437",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 53.607,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.12767,
    "h": 102.4
  },
  "luminance": 0.36174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1A437

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

Preview Lab → · Contrast checker → · Palette generator →

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