#B1A825#B1A825

#B1A825 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.7% C 0.142 H 105.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B1A825
RGBrgb(177, 168, 37)
HSLhsl(56, 65%, 42%)
HSVhsv(56, 79%, 69%)
CMYKcmyk(0%, 5.1%, 79.1%, 30.6%)
CIE-LABlab(67.64, -10.99, 63.05)
CIE-LCHlch(67.64, 64.00, 99.89°)
OKLaboklab(71.73% -0.0375 0.1369)
OKLCHoklch(71.73% 0.142 105.3)
XYZxyz(32.4695, 37.4872, 7.2753)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A825 #252EB1
analogous
#B16225 #B1A825 #74B125
triadic
#B1A825 #25B1A8 #A825B1
tetradic
#B1A825 #25B162 #252EB1 #B12574
square
#B1A825 #25B162 #252EB1 #B12574
split-complementary
#B1A825 #2574B1 #6225B1
monochromatic
#4C4810 #7E781A #B1A825 #D6CD3D #E1DA6F

Accessibility & contrast

On white

2.47
#B1A825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B1A825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A825
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A825#FFFFFF#000000##000000
##B1A8251.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#BBA730
Tritanopia (blue-blind)
#BF9C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a825;
/* rgb */ color: rgb(177, 168, 37);
/* oklch */ color: oklch(71.7% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#ccc16c',
    500: '#b1a825',
    950: '#000000',
  },
}
SCSS
$custom: #b1a825;
$custom-light: #ccc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a825",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 56.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71728,
    "c": 0.14197,
    "h": 105.3
  },
  "luminance": 0.37486
}

Semantic roles & 50–950 ramp

primary
#B1A825
secondary
#6A70C8
accent
#4AE83F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A825

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

Preview Lab → · Contrast checker → · Palette generator →

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