#B1A124#B1A124

#B1A124 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.137 H 101.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B1A124
RGBrgb(177, 161, 36)
HSLhsl(53, 66%, 42%)
HSVhsv(53, 80%, 69%)
CMYKcmyk(0%, 9%, 79.7%, 30.6%)
CIE-LABlab(65.72, -7.35, 61.65)
CIE-LCHlch(65.72, 62.09, 96.80°)
OKLaboklab(70.2% -0.0273 0.1337)
OKLCHoklch(70.2% 0.137 101.6)
XYZxyz(31.1963, 34.9657, 6.7746)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A124 #2434B1
analogous
#B15A24 #B1A124 #7BB124
triadic
#B1A124 #24B1A1 #A124B1
tetradic
#B1A124 #24B15A #2434B1 #B1247B
square
#B1A124 #24B15A #2434B1 #B1247B
split-complementary
#B1A124 #247BB1 #5A24B1
monochromatic
#4B440F #7E731A #B1A124 #D7C53B #E1D46E

Accessibility & contrast

On white

2.63
#B1A124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B1A124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A124
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A124#FFFFFF#000000##000000
##B1A1241.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#BF958A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a124;
/* rgb */ color: rgb(177, 161, 36);
/* oklch */ color: oklch(70.2% 0.137 101.6);
Tailwind
colors: {
  custom: {
    50: '#ccbc6a',
    500: '#b1a124',
    950: '#000000',
  },
}
SCSS
$custom: #b1a124;
$custom-light: #ccbc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a124",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 53.191,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.702,
    "c": 0.13651,
    "h": 101.6
  },
  "luminance": 0.34964
}

Semantic roles & 50–950 ramp

primary
#B1A124
secondary
#6974C8
accent
#52E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B1A124

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

Preview Lab → · Contrast checker → · Palette generator →

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