#B1A724#B1A724

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

Color values

HEX#B1A724
RGBrgb(177, 167, 36)
HSLhsl(56, 66%, 42%)
HSVhsv(56, 80%, 69%)
CMYKcmyk(0%, 5.6%, 79.7%, 30.6%)
CIE-LABlab(67.36, -10.51, 63.10)
CIE-LCHlch(67.36, 63.97, 99.45°)
OKLaboklab(71.51% -0.0362 0.1369)
OKLCHoklch(71.51% 0.142 104.8)
XYZxyz(32.2701, 37.1132, 7.1325)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A724 #242EB1
analogous
#B16124 #B1A724 #75B124
triadic
#B1A724 #24B1A7 #A724B1
tetradic
#B1A724 #24B161 #242EB1 #B12475
square
#B1A724 #24B161 #242EB1 #B12475
split-complementary
#B1A724 #2475B1 #6124B1
monochromatic
#4B470F #7E771A #B1A724 #D7CC3B #E1D96E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A724#FFFFFF#000000##000000
##B1A7241.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)
#BAA62F
Tritanopia (blue-blind)
#BF9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b1a724;
/* rgb */ color: rgb(177, 167, 36);
/* oklch */ color: oklch(71.5% 0.142 104.8);
Tailwind
colors: {
  custom: {
    50: '#ccc06b',
    500: '#b1a724',
    950: '#000000',
  },
}
SCSS
$custom: #b1a724;
$custom-light: #ccc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a724",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 36
  },
  "hsl": {
    "h": 55.745,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71505,
    "c": 0.14157,
    "h": 104.8
  },
  "luminance": 0.37112
}

Semantic roles & 50–950 ramp

primary
#B1A724
secondary
#6970C8
accent
#4BE93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A724

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

Preview Lab → · Contrast checker → · Palette generator →

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