#B1A725#B1A725

#B1A725 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.5% C 0.141 H 104.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B1A725
RGBrgb(177, 167, 37)
HSLhsl(56, 65%, 42%)
HSVhsv(56, 79%, 69%)
CMYKcmyk(0%, 5.6%, 79.1%, 30.6%)
CIE-LABlab(67.37, -10.47, 62.81)
CIE-LCHlch(67.37, 63.67, 99.47°)
OKLaboklab(71.51% -0.036 0.1364)
OKLCHoklch(71.51% 0.141 104.8)
XYZxyz(32.2855, 37.1194, 7.2140)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A725 #252FB1
analogous
#B16125 #B1A725 #75B125
triadic
#B1A725 #25B1A7 #A725B1
tetradic
#B1A725 #25B161 #252FB1 #B12575
square
#B1A725 #25B161 #252FB1 #B12575
split-complementary
#B1A725 #2575B1 #6125B1
monochromatic
#4C4710 #7E771A #B1A725 #D6CB3D #E1D96F

Accessibility & contrast

On white

2.49
#B1A725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B1A725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A725
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A725#FFFFFF#000000##000000
##B1A7251.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#BAA730
Tritanopia (blue-blind)
#BF9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a725;
/* rgb */ color: rgb(177, 167, 37);
/* oklch */ color: oklch(71.5% 0.141 104.8);
Tailwind
colors: {
  custom: {
    50: '#ccc06c',
    500: '#b1a725',
    950: '#000000',
  },
}
SCSS
$custom: #b1a725;
$custom-light: #ccc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a725",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 55.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7151,
    "c": 0.14109,
    "h": 104.8
  },
  "luminance": 0.37118
}

Semantic roles & 50–950 ramp

primary
#B1A725
secondary
#6A71C8
accent
#4BE83F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A725

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

Preview Lab → · Contrast checker → · Palette generator →

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