#B1A423#B1A423

#B1A423 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.8% C 0.139 H 103.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B1A423
RGBrgb(177, 164, 35)
HSLhsl(55, 67%, 42%)
HSVhsv(55, 80%, 69%)
CMYKcmyk(0%, 7.3%, 80.2%, 30.6%)
CIE-LABlab(66.54, -8.97, 62.67)
CIE-LCHlch(66.54, 63.31, 98.14°)
OKLaboklab(70.85% -0.032 0.1357)
OKLCHoklch(70.85% 0.139 103.2)
XYZxyz(31.7118, 36.0208, 6.8721)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A423 #2330B1
analogous
#B15D23 #B1A423 #77B123
triadic
#B1A423 #23B1A4 #A423B1
tetradic
#B1A423 #23B15D #2330B1 #B12377
square
#B1A423 #23B15D #2330B1 #B12377
split-complementary
#B1A423 #2377B1 #5D23B1
monochromatic
#4B450F #7E7519 #B1A423 #D8C939 #E2D76C

Accessibility & contrast

On white

2.56
#B1A423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B1A423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A423
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A423#FFFFFF#000000##000000
##B1A4231.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B8A42E
Tritanopia (blue-blind)
#BF988C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a423;
/* rgb */ color: rgb(177, 164, 35);
/* oklch */ color: oklch(70.8% 0.139 103.2);
Tailwind
colors: {
  custom: {
    50: '#ccbe6a',
    500: '#b1a423',
    950: '#000000',
  },
}
SCSS
$custom: #b1a423;
$custom-light: #ccbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a423",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 54.507,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70846,
    "c": 0.13945,
    "h": 103.2
  },
  "luminance": 0.36019
}

Semantic roles & 50–950 ramp

primary
#B1A423
secondary
#6870C8
accent
#4EEA3E
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B1A423

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

Preview Lab → · Contrast checker → · Palette generator →

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