#B1A923#B1A923

#B1A923 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.9% C 0.144 H 105.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B1A923
RGBrgb(177, 169, 35)
HSLhsl(57, 67%, 42%)
HSVhsv(57, 80%, 69%)
CMYKcmyk(0%, 4.5%, 80.2%, 30.6%)
CIE-LABlab(67.91, -11.58, 63.88)
CIE-LCHlch(67.91, 64.92, 100.28°)
OKLaboklab(71.94% -0.0393 0.1383)
OKLCHoklch(71.94% 0.144 105.9)
XYZxyz(32.6242, 37.8457, 7.1762)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A923 #232BB1
analogous
#B16223 #B1A923 #72B123
triadic
#B1A923 #23B1A9 #A923B1
tetradic
#B1A923 #23B162 #232BB1 #B12372
square
#B1A923 #23B162 #232BB1 #B12372
split-complementary
#B1A923 #2372B1 #6223B1
monochromatic
#4B470F #7E7819 #B1A923 #D8CF39 #E2DB6C

Accessibility & contrast

On white

2.45
#B1A923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B1A923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A923
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A923#FFFFFF#000000##000000
##B1A9231.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#BBA82F
Tritanopia (blue-blind)
#BF9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a923;
/* rgb */ color: rgb(177, 169, 35);
/* oklch */ color: oklch(71.9% 0.144 105.9);
Tailwind
colors: {
  custom: {
    50: '#ccc26b',
    500: '#b1a923',
    950: '#000000',
  },
}
SCSS
$custom: #b1a923;
$custom-light: #ccc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a923",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 56.62,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71937,
    "c": 0.14381,
    "h": 105.9
  },
  "luminance": 0.37844
}

Semantic roles & 50–950 ramp

primary
#B1A923
secondary
#686DC8
accent
#48EA3E
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A923

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

Preview Lab → · Contrast checker → · Palette generator →

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