#B1A225#B1A225

#B1A225 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.4% C 0.137 H 102.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B1A225
RGBrgb(177, 162, 37)
HSLhsl(54, 65%, 42%)
HSVhsv(54, 79%, 69%)
CMYKcmyk(0%, 8.5%, 79.1%, 30.6%)
CIE-LABlab(66.00, -7.84, 61.58)
CIE-LCHlch(66.00, 62.08, 97.26°)
OKLaboklab(70.42% -0.0286 0.1338)
OKLCHoklch(70.42% 0.137 102.1)
XYZxyz(31.3872, 35.3228, 6.9146)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A225 #2534B1
analogous
#B15C25 #B1A225 #7AB125
triadic
#B1A225 #25B1A2 #A225B1
tetradic
#B1A225 #25B15C #2534B1 #B1257A
square
#B1A225 #25B15C #2534B1 #B1257A
split-complementary
#B1A225 #257AB1 #5C25B1
monochromatic
#4C4510 #7E741A #B1A225 #D6C63D #E1D56F

Accessibility & contrast

On white

2.60
#B1A225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B1A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A225
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A225#FFFFFF#000000##000000
##B1A2251.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D01
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#BF968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a225;
/* rgb */ color: rgb(177, 162, 37);
/* oklch */ color: oklch(70.4% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccbd6b',
    500: '#b1a225',
    950: '#000000',
  },
}
SCSS
$custom: #b1a225;
$custom-light: #ccbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a225",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 53.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.13682,
    "h": 102.1
  },
  "luminance": 0.35321
}

Semantic roles & 50–950 ramp

primary
#B1A225
secondary
#6A74C8
accent
#52E83F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A225

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

Preview Lab → · Contrast checker → · Palette generator →

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