#B1A42C#B1A42C

#B1A42C is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.135 H 102.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B1A42C
RGBrgb(177, 164, 44)
HSLhsl(54, 60%, 43%)
HSVhsv(54, 75%, 69%)
CMYKcmyk(0%, 7.3%, 75.1%, 30.6%)
CIE-LABlab(66.58, -8.62, 59.79)
CIE-LCHlch(66.58, 60.41, 98.20°)
OKLaboklab(70.9% -0.0302 0.1313)
OKLCHoklch(70.9% 0.135 102.9)
XYZxyz(31.8630, 36.0812, 7.6684)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A42C #2C39B1
analogous
#B1612C #B1A42C #7BB12C
triadic
#B1A42C #2CB1A4 #A42CB1
tetradic
#B1A42C #2CB161 #2C39B1 #B12C7B
square
#B1A42C #2CB161 #2C39B1 #B12C7B
split-complementary
#B1A42C #2C7BB1 #612CB1
monochromatic
#4F4914 #807720 #B1A42C #D2C449 #DED47A

Accessibility & contrast

On white

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

On black

8.22
#B1A42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A42C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A42C#FFFFFF#000000##000000
##B1A42C1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F14
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#BF988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b1a42c;
/* rgb */ color: rgb(177, 164, 44);
/* oklch */ color: oklch(70.9% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#ccbe6e',
    500: '#b1a42c',
    950: '#000000',
  },
}
SCSS
$custom: #b1a42c;
$custom-light: #ccbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a42c",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 54.135,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70897,
    "c": 0.13475,
    "h": 102.9
  },
  "luminance": 0.3608
}

Semantic roles & 50–950 ramp

primary
#B1A42C
secondary
#737BC6
accent
#54E344
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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