#B1A925#B1A925

#B1A925 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.9% C 0.143 H 105.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B1A925
RGBrgb(177, 169, 37)
HSLhsl(57, 65%, 42%)
HSVhsv(57, 79%, 69%)
CMYKcmyk(0%, 4.5%, 79.1%, 30.6%)
CIE-LABlab(67.92, -11.51, 63.30)
CIE-LCHlch(67.92, 64.33, 100.31°)
OKLaboklab(71.95% -0.0389 0.1375)
OKLCHoklch(71.95% 0.143 105.8)
XYZxyz(32.6548, 37.8579, 7.3371)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A925 #252DB1
analogous
#B16325 #B1A925 #73B125
triadic
#B1A925 #25B1A9 #A925B1
tetradic
#B1A925 #25B163 #252DB1 #B12573
square
#B1A925 #25B163 #252DB1 #B12573
split-complementary
#B1A925 #2573B1 #6325B1
monochromatic
#4C4810 #7E791A #B1A925 #D6CE3D #E1DA6F

Accessibility & contrast

On white

2.45
#B1A925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B1A925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A925
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A925#FFFFFF#000000##000000
##B1A9251.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#BF9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a925;
/* rgb */ color: rgb(177, 169, 37);
/* oklch */ color: oklch(71.9% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc26c',
    500: '#b1a925',
    950: '#000000',
  },
}
SCSS
$custom: #b1a925;
$custom-light: #ccc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a925",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 37
  },
  "hsl": {
    "h": 56.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71947,
    "c": 0.14287,
    "h": 105.8
  },
  "luminance": 0.37857
}

Semantic roles & 50–950 ramp

primary
#B1A925
secondary
#6A6FC8
accent
#49E83F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A925

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

Preview Lab → · Contrast checker → · Palette generator →

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