#B1A125#B1A125

#B1A125 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.136 H 101.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B1A125
RGBrgb(177, 161, 37)
HSLhsl(53, 65%, 42%)
HSVhsv(53, 79%, 69%)
CMYKcmyk(0%, 9%, 79.1%, 30.6%)
CIE-LABlab(65.73, -7.31, 61.34)
CIE-LCHlch(65.73, 61.78, 96.80°)
OKLaboklab(70.21% -0.0271 0.1333)
OKLCHoklch(70.21% 0.136 101.5)
XYZxyz(31.2118, 34.9719, 6.8561)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A125 #2535B1
analogous
#B15B25 #B1A125 #7BB125
triadic
#B1A125 #25B1A1 #A125B1
tetradic
#B1A125 #25B15B #2535B1 #B1257B
square
#B1A125 #25B15B #2535B1 #B1257B
split-complementary
#B1A125 #257BB1 #5B25B1
monochromatic
#4C4510 #7E731A #B1A125 #D6C53D #E1D46F

Accessibility & contrast

On white

2.63
#B1A125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B1A125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A125
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A125#FFFFFF#000000##000000
##B1A1251.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C02
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#BF958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a125;
/* rgb */ color: rgb(177, 161, 37);
/* oklch */ color: oklch(70.2% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#ccbc6b',
    500: '#b1a125',
    950: '#000000',
  },
}
SCSS
$custom: #b1a125;
$custom-light: #ccbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a125",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 53.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70206,
    "c": 0.13601,
    "h": 101.5
  },
  "luminance": 0.3497
}

Semantic roles & 50–950 ramp

primary
#B1A125
secondary
#6A75C8
accent
#53E83F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A125

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

Preview Lab → · Contrast checker → · Palette generator →

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