#B1A237#B1A237

#B1A237 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.126 H 101.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B1A237
RGBrgb(177, 162, 55)
HSLhsl(53, 53%, 45%)
HSVhsv(53, 69%, 69%)
CMYKcmyk(0%, 8.5%, 68.9%, 30.6%)
CIE-LABlab(66.11, -7.02, 55.14)
CIE-LCHlch(66.11, 55.58, 97.25°)
OKLaboklab(70.54% -0.0245 0.1235)
OKLCHoklch(70.54% 0.126 101.2)
XYZxyz(31.7428, 35.4650, 8.7871)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A237 #3746B1
analogous
#B16537 #B1A237 #83B137
triadic
#B1A237 #37B1A2 #A237B1
tetradic
#B1A237 #37B165 #3746B1 #B13783
square
#B1A237 #37B165 #3746B1 #B13783
split-complementary
#B1A237 #3783B1 #6537B1
monochromatic
#544D1A #827728 #B1A237 #CCBE5A #DAD088

Accessibility & contrast

On white

2.59
#B1A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B1A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A237
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A237#FFFFFF#000000##000000
##B1A2371.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#BE978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b1a237;
/* rgb */ color: rgb(177, 162, 55);
/* oklch */ color: oklch(70.5% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#ccbd74',
    500: '#b1a237',
    950: '#000000',
  },
}
SCSS
$custom: #b1a237;
$custom-light: #ccbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a237",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 52.623,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.12591,
    "h": 101.2
  },
  "luminance": 0.35464
}

Semantic roles & 50–950 ramp

primary
#B1A237
secondary
#8088C4
accent
#5EDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A237

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

Preview Lab → · Contrast checker → · Palette generator →

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