#B1942A#B1942A

#B1942A is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.5% C 0.124 H 92.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B1942A
RGBrgb(177, 148, 42)
HSLhsl(47, 62%, 43%)
HSVhsv(47, 76%, 69%)
CMYKcmyk(0%, 16.4%, 76.3%, 30.6%)
CIE-LABlab(62.25, -0.13, 56.43)
CIE-LCHlch(62.25, 56.43, 90.14°)
OKLaboklab(67.46% -0.0063 0.1238)
OKLCHoklch(67.46% 0.124 92.9)
XYZxyz(29.1409, 30.6958, 6.5800)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1942A #2A47B1
analogous
#B1502A #B1942A #8AB12A
triadic
#B1942A #2AB194 #942AB1
tetradic
#B1942A #2AB150 #2A47B1 #B12A8A
square
#B1942A #2AB150 #2A47B1 #B12A8A
split-complementary
#B1942A #2A8AB1 #502AB1
monochromatic
#4E4113 #806B1E #B1942A #D3B445 #DFC877

Accessibility & contrast

On white

2.94
#B1942A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B1942A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1942A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1942A#FFFFFF#000000##000000
##B1942A1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59217
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#C0887F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b1942a;
/* rgb */ color: rgb(177, 148, 42);
/* oklch */ color: oklch(67.5% 0.124 92.9);
Tailwind
colors: {
  custom: {
    50: '#ccb36c',
    500: '#b1942a',
    950: '#000000',
  },
}
SCSS
$custom: #b1942a;
$custom-light: #ccb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1942a",
  "rgb": {
    "r": 177,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 47.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.12394,
    "h": 92.9
  },
  "luminance": 0.30694
}

Semantic roles & 50–950 ramp

primary
#B1942A
secondary
#7083C6
accent
#66E543
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #B1942A

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

Preview Lab → · Contrast checker → · Palette generator →

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