#B1A425#B1A425

#B1A425 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.138 H 103.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B1A425
RGBrgb(177, 164, 37)
HSLhsl(54, 65%, 42%)
HSVhsv(54, 79%, 69%)
CMYKcmyk(0%, 7.3%, 79.1%, 30.6%)
CIE-LABlab(66.55, -8.90, 62.07)
CIE-LCHlch(66.55, 62.71, 98.16°)
OKLaboklab(70.86% -0.0316 0.1348)
OKLCHoklch(70.86% 0.138 103.2)
XYZxyz(31.7423, 36.0330, 7.0330)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A425 #2532B1
analogous
#B15E25 #B1A425 #78B125
triadic
#B1A425 #25B1A4 #A425B1
tetradic
#B1A425 #25B15E #2532B1 #B12578
square
#B1A425 #25B15E #2532B1 #B12578
split-complementary
#B1A425 #2578B1 #5E25B1
monochromatic
#4C4610 #7E751A #B1A425 #D6C83D #E1D66F

Accessibility & contrast

On white

2.56
#B1A425 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B1A425 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A425
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A425#FFFFFF#000000##000000
##B1A4251.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B8A42F
Tritanopia (blue-blind)
#BF988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a425;
/* rgb */ color: rgb(177, 164, 37);
/* oklch */ color: oklch(70.9% 0.138 103.2);
Tailwind
colors: {
  custom: {
    50: '#ccbe6b',
    500: '#b1a425',
    950: '#000000',
  },
}
SCSS
$custom: #b1a425;
$custom-light: #ccbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a425",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 37
  },
  "hsl": {
    "h": 54.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.13849,
    "h": 103.2
  },
  "luminance": 0.36032
}

Semantic roles & 50–950 ramp

primary
#B1A425
secondary
#6A73C8
accent
#4FE83F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A425

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

Preview Lab → · Contrast checker → · Palette generator →

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