#B1A024#B1A024

#B1A024 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.136 H 101.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B1A024
RGBrgb(177, 160, 36)
HSLhsl(53, 66%, 42%)
HSVhsv(53, 80%, 69%)
CMYKcmyk(0%, 9.6%, 79.7%, 30.6%)
CIE-LABlab(65.45, -6.82, 61.41)
CIE-LCHlch(65.45, 61.78, 96.34°)
OKLaboklab(69.98% -0.0258 0.1332)
OKLCHoklch(69.98% 0.136 101)
XYZxyz(31.0222, 34.6176, 6.7165)
Luminance0.3462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A024 #2435B1
analogous
#B15A24 #B1A024 #7CB124
triadic
#B1A024 #24B1A0 #A024B1
tetradic
#B1A024 #24B15A #2435B1 #B1247C
square
#B1A024 #24B15A #2435B1 #B1247C
split-complementary
#B1A024 #247CB1 #5A24B1
monochromatic
#4B440F #7E721A #B1A024 #D7C43B #E1D46E

Accessibility & contrast

On white

2.65
#B1A024 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B1A024 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A024
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A024#FFFFFF#000000##000000
##B1A0241.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#BF9489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b1a024;
/* rgb */ color: rgb(177, 160, 36);
/* oklch */ color: oklch(70.0% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#ccbb6a',
    500: '#b1a024',
    950: '#000000',
  },
}
SCSS
$custom: #b1a024;
$custom-light: #ccbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a024",
  "rgb": {
    "r": 177,
    "g": 160,
    "b": 36
  },
  "hsl": {
    "h": 52.766,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.13569,
    "h": 101
  },
  "luminance": 0.34616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1A024

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

Preview Lab → · Contrast checker → · Palette generator →

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