#B1A224#B1A224

#B1A224 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#B1A224
RGBrgb(177, 162, 36)
HSLhsl(54, 66%, 42%)
HSVhsv(54, 80%, 69%)
CMYKcmyk(0%, 8.5%, 79.7%, 30.6%)
CIE-LABlab(65.99, -7.88, 61.89)
CIE-LCHlch(65.99, 62.39, 97.26°)
OKLaboklab(70.42% -0.0288 0.1343)
OKLCHoklch(70.42% 0.137 102.1)
XYZxyz(31.3717, 35.3166, 6.8330)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A224 #2433B1
analogous
#B15C24 #B1A224 #7AB124
triadic
#B1A224 #24B1A2 #A224B1
tetradic
#B1A224 #24B15C #2433B1 #B1247A
square
#B1A224 #24B15C #2433B1 #B1247A
split-complementary
#B1A224 #247AB1 #5C24B1
monochromatic
#4B450F #7E731A #B1A224 #D7C73B #E1D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1A224#FFFFFF#000000##000000
##B1A2241.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)
#B29D00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#BF968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a224;
/* rgb */ color: rgb(177, 162, 36);
/* oklch */ color: oklch(70.4% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#ccbd6a',
    500: '#b1a224',
    950: '#000000',
  },
}
SCSS
$custom: #b1a224;
$custom-light: #ccbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a224",
  "rgb": {
    "r": 177,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 53.617,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.13732,
    "h": 102.1
  },
  "luminance": 0.35315
}

Semantic roles & 50–950 ramp

primary
#B1A224
secondary
#6973C8
accent
#51E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A224

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

Preview Lab → · Contrast checker → · Palette generator →

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