#B1942F#B1942F

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

Color values

HEX#B1942F
RGBrgb(177, 148, 47)
HSLhsl(47, 58%, 44%)
HSVhsv(47, 73%, 69%)
CMYKcmyk(0%, 16.4%, 73.4%, 30.6%)
CIE-LABlab(62.28, 0.09, 54.54)
CIE-LCHlch(62.28, 54.54, 89.90°)
OKLaboklab(67.5% -0.0051 0.1208)
OKLCHoklch(67.5% 0.121 92.4)
XYZxyz(29.2361, 30.7339, 7.0811)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1942F #2F4CB1
analogous
#B1532F #B1942F #8DB12F
triadic
#B1942F #2FB194 #942FB1
tetradic
#B1942F #2FB153 #2F4CB1 #B12F8D
square
#B1942F #2FB153 #2F4CB1 #B12F8D
split-complementary
#B1942F #2F8DB1 #532FB1
monochromatic
#504315 #816C22 #B1942F #D0B34D #DDC77E

Accessibility & contrast

On white

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

On black

7.15
#B1942F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1942F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1942F#FFFFFF#000000##000000
##B1942F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921F
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#C08880
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b1942f;
/* rgb */ color: rgb(177, 148, 47);
/* oklch */ color: oklch(67.5% 0.121 92.4);
Tailwind
colors: {
  custom: {
    50: '#ccb36e',
    500: '#b1942f',
    950: '#000000',
  },
}
SCSS
$custom: #b1942f;
$custom-light: #ccb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1942f",
  "rgb": {
    "r": 177,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 46.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67496,
    "c": 0.12088,
    "h": 92.4
  },
  "luminance": 0.30732
}

Semantic roles & 50–950 ramp

primary
#B1942F
secondary
#7688C5
accent
#69E147
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141008
muted
#837F7B

Preview Lab

Preview with #B1942F

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

Preview Lab → · Contrast checker → · Palette generator →

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