#B1A142#B1A142

#B1A142 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.117 H 99.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B1A142
RGBrgb(177, 161, 66)
HSLhsl(51, 46%, 48%)
HSVhsv(51, 63%, 69%)
CMYKcmyk(0%, 9%, 62.7%, 30.6%)
CIE-LABlab(65.93, -5.81, 50.20)
CIE-LCHlch(65.93, 50.54, 96.60°)
OKLaboklab(70.43% -0.0198 0.1148)
OKLCHoklch(70.43% 0.117 99.8)
XYZxyz(31.8610, 35.2316, 10.2753)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A142 #4252B1
analogous
#B16942 #B1A142 #8AB142
triadic
#B1A142 #42B1A1 #A142B1
tetradic
#B1A142 #42B169 #4252B1 #B1428A
square
#B1A142 #42B169 #4252B1 #B1428A
split-complementary
#B1A142 #428AB1 #6942B1
monochromatic
#585021 #847831 #B1A142 #C7BA69 #D8CE96

Accessibility & contrast

On white

2.61
#B1A142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B1A142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A142
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A142#FFFFFF#000000##000000
##B1A1421.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D37
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#BE968D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b1a142;
/* rgb */ color: rgb(177, 161, 66);
/* oklch */ color: oklch(70.4% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#cbbc7a',
    500: '#b1a142',
    950: '#000000',
  },
}
SCSS
$custom: #b1a142;
$custom-light: #cbbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a142",
  "rgb": {
    "r": 177,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 51.351,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.1165,
    "h": 99.8
  },
  "luminance": 0.3523
}

Semantic roles & 50–950 ramp

primary
#B1A142
secondary
#8B93C3
accent
#65D552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B1A142

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

Preview Lab → · Contrast checker → · Palette generator →

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